jwyu 3 vuotta sitten
vanhempi
commit
2eb81cc7ca
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      src/views/hzyb/chart/Detail.vue

+ 5 - 1
src/views/hzyb/chart/Detail.vue

@@ -197,8 +197,12 @@ onBeforeRouteUpdate((nval)=>{
     dateType.value=null
     startDate.value=''
     endDate.value=''
+    setTimeout(() => {
+        window.location.reload()
+    }, 50);
+    
     // router.go(0)
-    getChartInfo('init')
+    // getChartInfo('init')
 })
 
 // 上下线设置