bugfix: 预设IP设置为map而非list后,IP取值有误的问题修复。

pull/430/head
王良 2025-01-02 14:28:16 +08:00
parent e320f8052c
commit 9d9a0ff8b8
2 changed files with 2 additions and 2 deletions

View File

@ -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
} }

View File

@ -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
} }