We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d14ba2e + ae0bca1 commit 369860aCopy full SHA for 369860a
src/views/mall/promotion/kefu/index.vue
@@ -28,9 +28,7 @@ const message = useMessage() // 消息弹窗
28
29
// ======================= WebSocket start =======================
30
const server = ref(
31
- (import.meta.env.VITE_BASE_URL + '/infra/ws/').replace('http', 'ws') +
32
- '?token=' +
33
- getAccessToken()
+ (import.meta.env.VITE_BASE_URL + '/infra/ws').replace('http', 'ws') + '?token=' + getAccessToken()
34
) // WebSocket 服务地址
35
36
/** 发起 WebSocket 连接 */
0 commit comments