feat: 新增导出中心功能

This commit is contained in:
taojinlong 2024-05-29 10:43:02 +08:00
parent 4d21ea7b06
commit fb75129703

View File

@ -33,7 +33,7 @@ export default {
if (stompClient !== null && stompClient != undefined && stompClient.connected) { if (stompClient !== null && stompClient != undefined && stompClient.connected) {
return return
} }
const socket = new SockJS('http://localhost:8100/websocket?userId=' + wsCache.get('user.uid')) const socket = new SockJS(prefix + 'websocket?userId=' + wsCache.get('user.uid'))
stompClient = Stomp.over(socket) stompClient = Stomp.over(socket)
const heads = { const heads = {
userId: wsCache.get('user.uid') userId: wsCache.get('user.uid')