dong 2 ヶ月 前
コミット
e60e7fd35d
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      src/views/module_tpm/equipmentRunStatis/realtime.vue

+ 2 - 0
src/views/module_tpm/equipmentRunStatis/realtime.vue

@@ -241,6 +241,8 @@ export default {
     initEcharts() {
       var _this = this
       var chartDom = this.$refs.trendCharts
+
+      _this.myChart.dispose();
       _this.myChart = echarts.init(chartDom)
       _this.echartsHeight = 4 * 300;
       // 获取time