fix: Lost historical conversation records (#2954)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run

This commit is contained in:
shaohuzhang1 2025-04-22 17:58:28 +08:00 committed by GitHub
parent 77e96624ee
commit 0ec198fa43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ const useUserStore = defineStore({
if (token) {
return token
}
const local_token = localStorage.getItem(`${token}-accessToken`)
const local_token = localStorage.getItem(`${this.userAccessToken}-accessToken`)
if (local_token) {
return local_token
}