diff --git a/src/Login.vue b/src/Login.vue index 168557fb..7658e3e6 100644 --- a/src/Login.vue +++ b/src/Login.vue @@ -69,8 +69,12 @@ export default { localStorage.setItem('cn-username', this.username) } else if (res.code === 518005) { this.$message.error(this.$t('tip.incorrectUsernameOrPassword')) + this.loading = false + this.blockOperation.query = false } else { this.$message.error(this.$t('tip.unknownError')) + this.loading = false + this.blockOperation.query = false } } ).catch(e => { diff --git a/src/components/charts/ChartTablePagination.vue b/src/components/charts/ChartTablePagination.vue index bae70a32..e5bfefec 100644 --- a/src/components/charts/ChartTablePagination.vue +++ b/src/components/charts/ChartTablePagination.vue @@ -41,7 +41,6 @@ export default { this.$emit('pageJump', val) }, resetPageNo () { - console.info(11) this.pageNo = 1 } }, diff --git a/src/components/entities/LeftFilter.vue b/src/components/entities/LeftFilter.vue index 620bb4e2..70637f14 100644 --- a/src/components/entities/LeftFilter.vue +++ b/src/components/entities/LeftFilter.vue @@ -87,8 +87,6 @@ export default { } else { this.currentDataBottom = this.$_.cloneDeep(data) } - console.info(this.currentDataTop) - console.info(this.currentDataBottom) this.$emit('select', data, node, index, column) }, showMore (filterData) { diff --git a/src/views/charts/Chart.vue b/src/views/charts/Chart.vue index 9ec7293b..04761de2 100644 --- a/src/views/charts/Chart.vue +++ b/src/views/charts/Chart.vue @@ -945,7 +945,7 @@ export default { } else { this.isError = true this.noData = true - this.errorInfo = response.msg || response.message || 'Unknown' + this.errorInfo = response.msg || response.message || 'Unknown error' } }).finally(() => { this.$nextTick(() => {