ZZJ
2021-11-08 a3aa9b34593a1e09a9030dd200fa1fd679c87fd5
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);
      })
    }
  }