Commit d73251e393c4786bbdcfa1c265f7a265e7170419
1 parent
debf998a
feat(src/packages): 优化高德地图标点弹窗和数据展示
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -12,7 +12,7 @@ export type dataJsonType = typeof dataJson //data.json类型 | @@ -12,7 +12,7 @@ export type dataJsonType = typeof dataJson //data.json类型 | ||
12 | export type dataJsonMarkersType = typeof dataJson.markers[number] //data.json markers类型 | 12 | export type dataJsonMarkersType = typeof dataJson.markers[number] //data.json markers类型 |
13 | 13 | ||
14 | //标注数据格式 | 14 | //标注数据格式 |
15 | -export const fileterDevice = (items: any) => { | 15 | +export const filterDevice = (items: any) => { |
16 | const values = items.reduce((acc: any, curr: any) => { | 16 | const values = items.reduce((acc: any, curr: any) => { |
17 | acc.push({ | 17 | acc.push({ |
18 | name: curr.alias, | 18 | name: curr.alias, |