Pre Merge pull request !481 from puhui999/dev-crm

pull/481/MERGE
puhui999 2024-07-12 10:07:16 +00:00 committed by Gitee
commit 3f2eaa30a9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 3 deletions

View File

@ -28,9 +28,7 @@ const message = useMessage() // 消息弹窗
// ======================= WebSocket start =======================
const server = ref(
(import.meta.env.VITE_BASE_URL + '/infra/ws/').replace('http', 'ws') +
'?token=' +
getAccessToken()
(import.meta.env.VITE_BASE_URL + '/infra/ws').replace('http', 'ws') + '?token=' + getAccessToken()
) // WebSocket
/** 发起 WebSocket 连接 */