Skip to content

Commit

Permalink
feat:更新
Browse files Browse the repository at this point in the history
  • Loading branch information
xkloveme committed Jun 3, 2024
1 parent 020af67 commit 1172c58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/store/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ export const userStore = defineStore("user", {
persist: {
enabled: true,
//指定字段存储,并且指定存储方式:
strategies: [
{ storage: localStorage }, // accessToken字段用 localstorage存储
],
// strategies: [
// { storage: localStorage }, // accessToken字段用 localstorage存储
// ],
},
});

0 comments on commit 1172c58

Please sign in to comment.