mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-12-27 07:34:12 +08:00
fix: nil for nextnode (#892)
This commit is contained in:
parent
0a7d2d47d4
commit
a4be39268a
@ -248,7 +248,13 @@ export const useProxies = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (node.now && node.now !== node.name) {
|
while (node.now && node.now !== node.name) {
|
||||||
node = proxyNodeMap()[node.now]
|
const nextNode = proxyNodeMap()[node.now]
|
||||||
|
|
||||||
|
if (!nextNode) {
|
||||||
|
return node.name
|
||||||
|
}
|
||||||
|
|
||||||
|
node = nextNode
|
||||||
}
|
}
|
||||||
|
|
||||||
return node.name
|
return node.name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user