解决控制台警告
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user