fix: 修复在线问题
This commit is contained in:
@@ -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 {}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user