解决控制台警告

This commit is contained in:
lai
2024-01-26 15:53:38 +08:00
parent 9963ec9965
commit 231d0381d1

View File

@@ -7,7 +7,6 @@ import { mainGet } from '@/api/faultManage/actAlarm';
import * as echarts from 'echarts/core';
import {
TitleComponent,
TitleComponentOption,
TooltipComponent,
TooltipComponentOption,
GridComponent,
@@ -93,7 +92,6 @@ for (var i = 0; i < 5; i++) {
},
},
itemStyle: {
normal: {
color: color[i],
lineStyle: {
width: 1,
@@ -107,7 +105,6 @@ for (var i = 0; i < 5; i++) {
},
opacity: 0.5,
},
},
data: data[i],
});
}
@@ -207,24 +204,6 @@ function fnDesign(container: HTMLElement | undefined, option: EChartsOption) {
onMounted(() => {
fnDesign(alarmDayLine.value, optionData);
// setInterval(() => {
// neResourcesChart.value.setOption({
// legend: {
// selected: {
// '上行': false,
// '下行': false
// }
// }
// })
// neResourcesChart.value.setOption({
// legend: {
// selected: {
// '上行': true,
// '下行': true
// }
// }
// })
// }, 10000)
});
</script>