Mon Jul 17 13:36:00 CST 2023 inscode

上级 9b22cf7c
......@@ -120,6 +120,7 @@ function initMap() {
let itemData = chinaJson.features
let length = itemData.length
state.aimPointData = []
state.airData=[]
state.linesCoord= []
for (let loc = 0; loc < length; ++loc) {
let name = itemData[loc].properties.name
......@@ -138,7 +139,7 @@ function initMap() {
let center = itemData[loc].properties.center
Object.keys(gameJson).forEach(uid => {
const locName=gameJson[uid].ip.split('')[1]
if (name.includes(locName)||locName.includes(name)) {
if (name.includes(locName)||locName.includes) {
number += 1
}
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册