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