ZZJ
2021-12-13 bc630b555653be1cb6eff37ab2da18cd31e8ef81
src/pages/shuohuangMonitorAnalyze/components/charts/line.vue
@@ -9,14 +9,14 @@
      type: Object
    }
  },
  mounted () {
  mounted() {
    this.initLineChart();
  },
  methods: {
    initLineChart () {
    initLineChart() {
      this.$nextTick(() => {
        let dom = this.$echarts.init(this.$refs['lineChart']);
        dom.setOption(this.options);
        dom && dom.setOption(this.options);
      })
    }
  }