chenrui  2 жил өмнө
parent
commit
47a832f8fd

+ 6 - 0
src/views/securityCheck/views/comprehensiveHome.vue

@@ -145,6 +145,9 @@ export default {
       window.onresize = () => {
         myChart.resize();
       };
+      myChart.on("click", (a, b) => {
+        this.echar();
+      });
     },
     //日
     inits(arr, arrx, Low, firs, pt) {
@@ -161,6 +164,9 @@ export default {
       window.onresize = () => {
         myChart.resize();
       };
+      myChart.on("click", (a, b) => {
+        this.echar();
+      });
     },
   },
 };