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