socket异常通知调整

This commit is contained in:
fan 2023-04-28 11:04:38 +08:00
parent ce522b6570
commit 027f00da77

View File

@ -63,7 +63,7 @@ StompClient.prototype = {
this.subscribeMap.forEach(subscribe => { this.subscribeMap.forEach(subscribe => {
subscribe.sub.unsubscribe(); subscribe.sub.unsubscribe();
}); });
this.notify('通信链接错误:请重新登录'); this.notify('通信链接已断开,正在尝试重新链接');
this.status = false; this.status = false;
} }
}); });
@ -77,7 +77,7 @@ StompClient.prototype = {
Notification.error({ Notification.error({
title: '错误', title: '错误',
message: msg, message: msg,
duration: 0 duration: 3000
}); });
}, },