diff --git a/src/views/reagent/mainoverview/index.vue b/src/views/reagent/mainoverview/index.vue index 5695168..7d5ff3d 100644 --- a/src/views/reagent/mainoverview/index.vue +++ b/src/views/reagent/mainoverview/index.vue @@ -37,7 +37,12 @@ -
+
@@ -368,7 +373,8 @@ export default { rloading: false, client_id: null, client_date: 1, - linechartData: [] + linechartData: [], + loadingLineData: true } }, async created() { @@ -410,11 +416,12 @@ export default { time_type: this.client_date, obj_type: this.radio1 } + this.loadingLineData = true get_monitoring_info(stringify(data)).then( res => { this.linechartData = res.data } - ) + ).finally(() => { this.loadingLineData = false }) }, remainingPageChange(page) { this.rpage = page