fix: 修复在线问题

This commit is contained in:
橙子
2024-01-15 00:25:25 +08:00
parent cf793c198f
commit e64b12097a
6 changed files with 52 additions and 23 deletions

View File

@@ -36,8 +36,6 @@ export default {
connection.state === signalR.HubConnectionState.Disconnected
);
// 建议用户重新刷新浏览器
await this.close();
await this.start();
});
connection.onreconnected(() => {
@@ -55,6 +53,7 @@ export default {
try {
var that = this;
await this.SR.stop();
this.SR={};
} catch {}
},