bugfix: 预设IP设置为map而非list后,IP取值有误的问题修复。
parent
e320f8052c
commit
9d9a0ff8b8
|
@ -12,7 +12,7 @@ function mapToList (ipMap) {
|
||||||
if (!ipMap[key]) {
|
if (!ipMap[key]) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
ipList.push(ipMap[key])
|
ipList.push(key)
|
||||||
}
|
}
|
||||||
return ipList
|
return ipList
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@ function mapToList (ipMap) {
|
||||||
if (!ipMap[key]) {
|
if (!ipMap[key]) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
ipList.push(ipMap[key])
|
ipList.push(key)
|
||||||
}
|
}
|
||||||
return ipList
|
return ipList
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue