修复下线重复提示
This commit is contained in:
parent
5aa275e1bf
commit
317cb58460
|
|
@ -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");
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue