联调 有功功率分析页面
This commit is contained in:
@@ -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]
|
||||
}
|
||||
}),
|
||||
// [
|
||||
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user