|
|
@@ -125,7 +125,7 @@ const getUserList = async () => {
|
|
|
// 地图使用筛选后的数据
|
|
|
const wktArr = ["POINT (113.10930176274309 22.574540836684672)", "POINT (113.407189 23.032344)"]
|
|
|
data.map((item, index) => {
|
|
|
- item.point = wktArr[Math.floor(Math.random() * wktArr.length)]
|
|
|
+ item.farmPoint = wktArr[Math.floor(Math.random() * wktArr.length)]
|
|
|
});
|
|
|
indexMap.initData(data, 'name');
|
|
|
// 清空现有的子项
|