zhangzengfei
2021-06-22 e70f4f14cc409b6b75e1f9191cc9255fa66032e8
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);
      })
    }
  }