fix: 去掉console.log等
This commit is contained in:
@@ -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 => {
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
@@ -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(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user