mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-28 12:13:26 +08:00
修复在线用户重连问题
This commit is contained in:
@@ -22,7 +22,7 @@ onMounted(() => {
|
||||
//这里还需要监视token的变化,重新进行signalr连接
|
||||
watch(()=>token.value,async (newValue,oldValue)=>{
|
||||
console.log("重新连接");
|
||||
await signalR.close();
|
||||
// await signalR.close();
|
||||
await signalR.start();
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user