修复下线重复提示

This commit is contained in:
junleea 2024-07-17 18:18:11 +08:00
parent 5aa275e1bf
commit 317cb58460
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ export default {
_this.createContent(_this.to_user_name, null, data.data);
}else if (data.type == "offline"){
alert("对方已下线");
this.socket.close();
_this.socket.close();
router.push("/user");
}
};