forked from github/dataease
chore: cleanup unnecessary console log
This commit is contained in:
parent
74efcfaad7
commit
da83d3589b
@ -58,10 +58,8 @@ module.exports = app => {
|
|||||||
const mockRoutes = registerRoutes(app)
|
const mockRoutes = registerRoutes(app)
|
||||||
mockRoutesLength = mockRoutes.mockRoutesLength
|
mockRoutesLength = mockRoutes.mockRoutesLength
|
||||||
mockStartIndex = mockRoutes.mockStartIndex
|
mockStartIndex = mockRoutes.mockStartIndex
|
||||||
|
|
||||||
console.log(chalk.magentaBright(`\n > Mock Server hot reload success! changed ${path}`))
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log(chalk.redBright(error))
|
console.error(chalk.redBright(error))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -41,9 +41,7 @@
|
|||||||
url += '&user=' + encodeURIComponent(user)
|
url += '&user=' + encodeURIComponent(user)
|
||||||
}
|
}
|
||||||
if (attachParams) {
|
if (attachParams) {
|
||||||
console.log('attachParams-bf:'+attachParams+';-af:'+encodeURIComponent(attachParams))
|
|
||||||
url += '&attachParams=' + encodeURIComponent(attachParams)
|
url += '&attachParams=' + encodeURIComponent(attachParams)
|
||||||
|
|
||||||
}
|
}
|
||||||
window.location.href = url
|
window.location.href = url
|
||||||
</script>
|
</script>
|
||||||
|
@ -1513,7 +1513,7 @@ export default {
|
|||||||
}
|
}
|
||||||
this.fieldShow = true
|
this.fieldShow = true
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err)
|
console.error(err)
|
||||||
this.resetView()
|
this.resetView()
|
||||||
this.httpRequest.status = err.response.data.success
|
this.httpRequest.status = err.response.data.success
|
||||||
this.httpRequest.msg = err.response.data.message
|
this.httpRequest.msg = err.response.data.message
|
||||||
|
@ -146,7 +146,6 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
defaultLoginType().then(res => {
|
defaultLoginType().then(res => {
|
||||||
console.log('default login type is :' + res.data)
|
|
||||||
if (res && res.success) {
|
if (res && res.success) {
|
||||||
this.defaultType = res.data
|
this.defaultType = res.data
|
||||||
}
|
}
|
||||||
|
@ -142,7 +142,6 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handlerBtn(btn) {
|
handlerBtn(btn) {
|
||||||
console.log(1, btn);
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -25,7 +25,7 @@ class DeWebsocket {
|
|||||||
try {
|
try {
|
||||||
_this.client && _this.client.send('heart detection')
|
_this.client && _this.client.send('heart detection')
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('Disconnection reconnection...')
|
console.error('Disconnection reconnection...')
|
||||||
_this.connection()
|
_this.connection()
|
||||||
}
|
}
|
||||||
}, 5000)
|
}, 5000)
|
||||||
|
@ -169,7 +169,6 @@ const util = {
|
|||||||
uni.removeStorage({
|
uni.removeStorage({
|
||||||
key: 'search:history',
|
key: 'search:history',
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
console.log('success');
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return []
|
return []
|
||||||
|
@ -9,7 +9,6 @@ var pullDown = {
|
|||||||
function ready(newValue, oldValue, ownerInstance, instance) {
|
function ready(newValue, oldValue, ownerInstance, instance) {
|
||||||
var state = instance.getState()
|
var state = instance.getState()
|
||||||
state.canPullDown = newValue;
|
state.canPullDown = newValue;
|
||||||
// console.log(newValue);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function touchStart(e, instance) {
|
function touchStart(e, instance) {
|
||||||
@ -19,9 +18,6 @@ function touchStart(e, instance) {
|
|||||||
if (!state.canPullDown) {
|
if (!state.canPullDown) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// console.log("touchStart");
|
|
||||||
|
|
||||||
state.height = 0;
|
state.height = 0;
|
||||||
state.touchStartY = e.touches[0].pageY || e.changedTouches[0].pageY;
|
state.touchStartY = e.touches[0].pageY || e.changedTouches[0].pageY;
|
||||||
state.refreshInstance.setStyle({
|
state.refreshInstance.setStyle({
|
||||||
|
@ -223,13 +223,10 @@
|
|||||||
uni.navigateBack(1)
|
uni.navigateBack(1)
|
||||||
},
|
},
|
||||||
upper: function(e) {
|
upper: function(e) {
|
||||||
console.log(e)
|
|
||||||
},
|
},
|
||||||
lower: function(e) {
|
lower: function(e) {
|
||||||
console.log(e)
|
|
||||||
},
|
},
|
||||||
scroll: function(e) {
|
scroll: function(e) {
|
||||||
console.log(e)
|
|
||||||
this.old.scrollTop = e.detail.scrollTop
|
this.old.scrollTop = e.detail.scrollTop
|
||||||
},
|
},
|
||||||
goTop: function(e) {
|
goTop: function(e) {
|
||||||
|
@ -216,7 +216,6 @@
|
|||||||
let isExist = this.cacheTab.indexOf(this.tabIndex);
|
let isExist = this.cacheTab.indexOf(this.tabIndex);
|
||||||
if (isExist < 0) {
|
if (isExist < 0) {
|
||||||
this.cacheTab.push(this.tabIndex);
|
this.cacheTab.push(this.tabIndex);
|
||||||
//console.log("cache index:: " + this.tabIndex);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user