refactor: ♻️ 更换本地缓存的 token 变量名

This commit is contained in:
hxr
2024-03-24 15:18:45 +08:00
parent 8f842ec602
commit 023c585c95
4 changed files with 9 additions and 9 deletions

View File

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