Browse Source

fix: 修复alert

master
leirensheng 5 years ago
parent
commit
94e0020acd
  1. 2
      src/controllers/server.js

2
src/controllers/server.js

@ -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);

Loading…
Cancel
Save