fix: 去掉console.log等

This commit is contained in:
chenjinsong
2021-08-27 16:45:03 +08:00
parent dd0c844355
commit a38f353a7b
4 changed files with 5 additions and 4 deletions

View File

@@ -69,8 +69,12 @@ export default {
localStorage.setItem('cn-username', this.username) localStorage.setItem('cn-username', this.username)
} else if (res.code === 518005) { } else if (res.code === 518005) {
this.$message.error(this.$t('tip.incorrectUsernameOrPassword')) this.$message.error(this.$t('tip.incorrectUsernameOrPassword'))
this.loading = false
this.blockOperation.query = false
} else { } else {
this.$message.error(this.$t('tip.unknownError')) this.$message.error(this.$t('tip.unknownError'))
this.loading = false
this.blockOperation.query = false
} }
} }
).catch(e => { ).catch(e => {

View File

@@ -41,7 +41,6 @@ export default {
this.$emit('pageJump', val) this.$emit('pageJump', val)
}, },
resetPageNo () { resetPageNo () {
console.info(11)
this.pageNo = 1 this.pageNo = 1
} }
}, },

View File

@@ -87,8 +87,6 @@ export default {
} else { } else {
this.currentDataBottom = this.$_.cloneDeep(data) this.currentDataBottom = this.$_.cloneDeep(data)
} }
console.info(this.currentDataTop)
console.info(this.currentDataBottom)
this.$emit('select', data, node, index, column) this.$emit('select', data, node, index, column)
}, },
showMore (filterData) { showMore (filterData) {

View File

@@ -945,7 +945,7 @@ export default {
} else { } else {
this.isError = true this.isError = true
this.noData = true this.noData = true
this.errorInfo = response.msg || response.message || 'Unknown' this.errorInfo = response.msg || response.message || 'Unknown error'
} }
}).finally(() => { }).finally(() => {
this.$nextTick(() => { this.$nextTick(() => {