Browse Source

现状信息

maxiaoxiao 1 year ago
parent
commit
11b8c68806
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/siteselection/components/dkDetails.vue

+ 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) {},