fix: bug
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ export const useSocketStore = defineStore('socketStore',{
|
||||
if(this.SocketObj?.isClose){
|
||||
this.SocketObj.isClose = false
|
||||
}
|
||||
let _baseUrl = get_base_url().split('http').join('ws')
|
||||
let _baseUrl = get_base_url(url).split('http').join('ws')
|
||||
this.SocketObj = new SocketClass(_baseUrl + url + getToken());
|
||||
},
|
||||
closeSocket() {
|
||||
|
||||
Reference in New Issue
Block a user