zmc
2023-09-05 c2f95b0b9090a2394b5b068582b932a5e57b86aa
src/views/line_graph/components/LineChart.vue
@@ -53,11 +53,11 @@
    },
  },
  beforeUnmount() {
    if (this.chart) {
      this.chart.dispose();
    }
  },
  // beforeUnmount() {
  //   if (this.chart) {
  //     this.chart.dispose();
  //   }
  // },
  methods: {
    intiChart() {
      // 创建echarts实例