From 027f00da7787d945bc94a865ed5d0017f4f79a58 Mon Sep 17 00:00:00 2001 From: fan Date: Fri, 28 Apr 2023 11:04:38 +0800 Subject: [PATCH] =?UTF-8?q?socket=E5=BC=82=E5=B8=B8=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/sock.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }); },