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(() => { }) },