mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
fix: wrong view in some cases
This commit is contained in:
1 parent
ab3477f796
commit
3ac523a691
1 file changed
+15
-1
@@ -499,7 +499,21 @@ export default {
|
||||
this.tableData,
|
||||
runningState.lastConnectedServer
|
||||
);
|
||||
server.connected = false;
|
||||
if (server.connected) {
|
||||
server.connected = false;
|
||||
} else {
|
||||
//否则广播
|
||||
this.tableData.servers.some(v => {
|
||||
v.connected && (v = false);
|
||||
return v.connected;
|
||||
}) ||
|
||||
this.tableData.subscriptions.some(s => {
|
||||
return s.servers.some(v => {
|
||||
v.connected && (v = false);
|
||||
return v.connected;
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
if (runningState.connectedServer) {
|
||||
let server = locateServer(this.tableData, runningState.connectedServer);
|
||||
|
||||
Reference in new issue
Block a user