合并冲突
This commit is contained in:
+3
-2
@@ -1,4 +1,5 @@
|
||||
import { goto_login_fun } from '@/api/requestexport default class WebSocketUtil {
|
||||
import { goto_login_fun } from '@/api/request'
|
||||
export default class WebSocketUtil {
|
||||
/**
|
||||
* WebSocket工具类,用于管理WebSocket连接
|
||||
* @param {string} url - WebSocket服务器地址
|
||||
@@ -197,7 +198,7 @@ import { goto_login_fun } from '@/api/requestexport default class WebSocketUtil
|
||||
} else {
|
||||
console.error('达到最大重连次数,停止尝试');
|
||||
this.triggerEvent('error', new Error('达到最大重连次数'));
|
||||
goto_login_fun()
|
||||
goto_login_fun()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user