Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix: 修复alert
Browse files Browse the repository at this point in the history
  • Loading branch information
leirensheng committed Dec 15, 2020
1 parent e0bdb2c commit 94e0020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ const server = {
}

//连接关闭时触发
_this.websocket.onclose = function(){
_this.websocket.onclose = function(e){
console.info(locale().websocket.close);
if(e.code!==1000){
alert(locale().websocket.contact);
Expand Down

0 comments on commit 94e0020

Please sign in to comment.