mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
“我的域”功能
This commit is contained in:
1 parent
d4e849a133
commit
eaed0e84f5
11 files changed
+122
-27
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user