From 36a1f08963cf1d4cfaf9301edc4f20d720a049db Mon Sep 17 00:00:00 2001
From: chenjinsong <523037378@qq.com>
Date: Tue, 7 Sep 2021 15:24:57 +0800
Subject: [PATCH] =?UTF-8?q?CN-128=20perf:=20=E4=BC=98=E5=8C=96=E5=9B=BE?=
=?UTF-8?q?=E8=A1=A8=E5=8A=A0=E8=BD=BD=E5=8A=A8=E7=94=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/charts/EchartsFrame.vue | 2 +-
src/components/charts/PieTable.vue | 8 +-------
2 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/components/charts/EchartsFrame.vue b/src/components/charts/EchartsFrame.vue
index fd79862e..9658e739 100644
--- a/src/components/charts/EchartsFrame.vue
+++ b/src/components/charts/EchartsFrame.vue
@@ -15,7 +15,7 @@
-
diff --git a/src/components/charts/PieTable.vue b/src/components/charts/PieTable.vue
index 7a6e69ba..e9b57d09 100644
--- a/src/components/charts/PieTable.vue
+++ b/src/components/charts/PieTable.vue
@@ -1,6 +1,5 @@
@@ -111,7 +109,6 @@ export default {
},
data () {
return {
- loading: false,
nameColumn: '',
pieTableData: [],
childrenTableData: [],
@@ -169,13 +166,11 @@ export default {
prop: 'bytes',
width: '18%'
}
- ],
- subLoading: true
+ ]
}
},
methods: {
currentChange (row, expandedRows) {
- this.subLoading = true
this.childrenTableData = []
if (this.expandRowKeys[0] && (row.domain === this.expandRowKeys[0])) {
this.expandRowKeys = []
@@ -196,7 +191,6 @@ export default {
this.childrenTableData = response2.data.result
}
}).finally(() => {
- this.subLoading = false
})
}, 500)
},