Skip to content

Commit 0ec198f

Browse files
authored
fix: Lost historical conversation records (#2954)
1 parent 77e9662 commit 0ec198f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/stores/modules/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const useUserStore = defineStore({
6565
if (token) {
6666
return token
6767
}
68-
const local_token = localStorage.getItem(`${token}-accessToken`)
68+
const local_token = localStorage.getItem(`${this.userAccessToken}-accessToken`)
6969
if (local_token) {
7070
return local_token
7171
}

0 commit comments

Comments
 (0)