diff --git a/src/utils/sock.js b/src/utils/sock.js index 48e4f12ee..aeeb6391e 100644 --- a/src/utils/sock.js +++ b/src/utils/sock.js @@ -63,7 +63,7 @@ StompClient.prototype = { this.subscribeMap.forEach(subscribe => { subscribe.sub.unsubscribe(); }); - this.notify('通信链接错误:请重新登录!'); + this.notify('通信链接已断开,正在尝试重新链接!'); this.status = false; } }); @@ -77,7 +77,7 @@ StompClient.prototype = { Notification.error({ title: '错误', message: msg, - duration: 0 + duration: 3000 }); },