fix: 🐛 websocket 获取 token 放公司调整

This commit is contained in:
hxr 2024-02-18 23:49:42 +08:00
parent 53250a28dd
commit f356e51b6b
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ function connectWebSocket() {
stompClient = Stomp.over(socket);
stompClient.connect(
{ Authorization: userStore.token },
{ Authorization: localStorage.getItem("token") },
() => {
isConnected.value = true;
messages.value.push({