From bb69571509652645617695d98d28d15d75a0031a Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Fri, 8 Apr 2022 17:23:57 +0800 Subject: [PATCH] =?UTF-8?q?CN-468=20fix:=20loading=E5=8F=8A=E6=97=B6?= =?UTF-8?q?=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/charts/PanelChart.vue | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/views/charts/PanelChart.vue b/src/views/charts/PanelChart.vue index ae36fa27..1f5c3212 100644 --- a/src/views/charts/PanelChart.vue +++ b/src/views/charts/PanelChart.vue @@ -262,13 +262,7 @@ export default { this.errorInfo = response.msg || response.message || 'Unknown' } }).finally(() => { - setTimeout(() => { - if (!(isIpHostedDomain(this.chartInfo.type) || isAppRelatedDomain(this.chartInfo.type))) { - this.loading = false - } else if (!this.chartData || this.chartData.length === 0) { - this.loading = false - } - }, 200) + this.loading = false }) } else if (this.isGroup || this.isTabs) { this.$refs.chart.$refs.chart.reload()