maxiaoxiao 10 сар өмнө
parent
commit
11b8c68806

+ 2 - 2
src/views/siteselection/components/dkDetails.vue

@@ -54,10 +54,10 @@ export default {
         }
       });
     },
-    setEchart(data, title) {
+    setEchart(data, type) {
       console.log("res.data", this.$refs.echartRef);
       this.$nextTick(() => {
-        this.$refs.echartRef.setOptions({ data, title });
+        this.$refs.echartRef.setOptions({ data, type });
       });
     },
     echartClick(name) {},