src/views/exception/components/DustLineChart.vue
@@ -5,9 +5,7 @@ --> <template> <div id="main" class="line-chart-exception"></div> </template> @@ -49,11 +47,7 @@ window.addEventListener('resize', this.resizeChart); }, }, // beforeUnmount() { // if (this.chart) { // this.chart.dispose; // } // }, methods: { initChart() { // 创建echarts实例 @@ -112,7 +106,7 @@ <style scoped> .line-chart-exception { width: 700px; width: 600px; height: 250px; margin-bottom: 20px; min-width: 500px;