“我的域”功能

This commit is contained in:
undefined committed 2020-07-14 19:02:19 +08:00
1 parent d4e849a133
commit eaed0e84f5
11 files changed
+122 -27

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ export default class Sock {
init() {
this.sock = new SockJS(this.url);
this.sock.onopen = () => {
if (this.reconnect) Notification.warn(i18n('Reconnected to the server.'));
if (this.reconnect) Notification.info(i18n('Reconnected to the server.'));
if (this.onopen) this.onopen(this.reconnect);
};
this.sock.onclose = (code, reason) => {