From 620109cb5569ff1027ef0307bcaa04943e4623a4 Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Tue, 16 Apr 2024 16:55:39 +0800 Subject: [PATCH] =?UTF-8?q?CN-1592=20fix:=20=E5=A4=84=E7=90=86=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E6=8A=A5=E9=94=99=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/table/tag/TagTable.vue | 36 ++++++++++++++++----------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/src/components/table/tag/TagTable.vue b/src/components/table/tag/TagTable.vue index 9c982cf9..dbbf10db 100644 --- a/src/components/table/tag/TagTable.vue +++ b/src/components/table/tag/TagTable.vue @@ -43,7 +43,7 @@ - {{countDesc}}  + {{countDesc}}  { console.error(e) this.isNoData = false + this.$message.error(this.errorMsgHandler(e)) this.showError = true - this.errorMsg = this.errorMsgHandler(e) + this.myChart && this.myChart.clear() + this.countDesc = '' }).finally(() => { this.loadingDown = false }) @@ -646,11 +650,15 @@ export default { this.observedDomainCount = domainFind ? domainFind.count : 0 this.countDesc = this.handleCountDesc() } else { - this.errorMsg = this.errorMsgHandler(res) + this.showError = true + this.$message.error(this.errorMsgHandler(res)) + this.countDesc = '' } }).catch(e => { console.error(e) - this.errorMsg = this.errorMsgHandler(e) + this.showError = true + this.$message.error(this.errorMsgHandler(e)) + this.countDesc = '' }).finally(() => { }) },