소스 검색

小修改

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