From 23c84cbe1cccef137b5912b481a8d1f903b90c71 Mon Sep 17 00:00:00 2001 From: pengwei Date: Fri, 24 Oct 2025 17:52:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=9C=B0=E5=9B=BE=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/datav/SceneInsp.vue | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/views/datav/SceneInsp.vue b/src/views/datav/SceneInsp.vue index 716fd1e..4972e5d 100644 --- a/src/views/datav/SceneInsp.vue +++ b/src/views/datav/SceneInsp.vue @@ -1021,7 +1021,7 @@ const getYellowBetDrugData = async () => { watch(zxdcProRankTab, () => { getYellowBetDrugData() -}) +},{deep:true}) const getWorkDynamicsData = async () => { const data = await getWorkDynamics(time.value); @@ -1030,13 +1030,16 @@ const getWorkDynamicsData = async () => { }; const getData = () => { - getChangedRankData(); - getProblemTypeRateData(); - getSupervisionNotifyCountData(); - getSupervisionNotifyMapData(); - getSupervisionTrendData(); - getYellowBetDrugData(); - getWorkDynamicsData(); + new Promise.all([ + getChangedRankData(), + getProblemTypeRateData(), + getSupervisionNotifyCountData(), + getSupervisionNotifyMapData(), + getSupervisionTrendData(), + getYellowBetDrugData(), + getWorkDynamicsData() + ]) + }; // endregion