修改bug

This commit is contained in:
zhujiyan
2024-11-01 14:31:42 +08:00
parent 48e6e0bd64
commit a2bc8911e9
2 changed files with 2 additions and 4 deletions

View File

@@ -34,7 +34,6 @@ const resizeHandler = () => {
})
}
const initChart = () => {
console.log(props.options,"888888888");
if (!props.isInterVal && !props.pieInterVal) {
chart?.dispose()
}

View File

@@ -647,7 +647,6 @@ const handleExport = async () => {
planCsv.value = csv
}
}
if (historyDataList.value.length != 0) {
let xAxis: any = []
let timeList: any = []
@@ -761,10 +760,10 @@ const formatCountOptions = (list: any) => {
if (item.name.includes('谐波电流有效值')) {
item.name = '谐波电流次数'
}
if (item.name.includes('谐波电压含有率')) {
if (item.name=='谐波电压含有率') {
item.name = '谐波电压次数'
}
if (item.name.includes('间谐波电压含有率')) {
if (item.name=='间谐波电压含有率') {
item.name = '间谐波电压次数'
}
})