联调 有功功率分析页面

This commit is contained in:
GGJ
2024-08-28 16:34:31 +08:00
parent 42be7bf2cf
commit 1fa628044f
5 changed files with 396 additions and 165 deletions

View File

@@ -214,12 +214,15 @@ const map = (res: any) => {
}
},
data: res.map((item: any) => {
return {
...item,
value: [item.lng, item.lat, item.lowPressure]
}
}),
data:
res.length == 0
? []
: res.map((item: any) => {
return {
...item,
value: [item.lng, item.lat, item.lowPressure || 0]
}
}),
// data:[],
barSize: 1,
minHeight: 1,
@@ -244,12 +247,15 @@ const map = (res: any) => {
}
},
data: res.map((item: any) => {
return {
...item,
value: [item.lng - 0.07, item.lat, item.highPressure]
}
}),
data:
res.length == 0
? []
: res.map((item: any) => {
return {
...item,
value: [item.lng - 0.07, item.lat, item.highPressure || 0]
}
}),
// [
// {