diff --git a/src/stores/auth.js b/src/stores/auth.js index 287e6eb..4e4fae8 100644 --- a/src/stores/auth.js +++ b/src/stores/auth.js @@ -16,5 +16,5 @@ export const useAuthStore = defineStore('auth', () => { login, logout }; -},{persist: {storage: sessionStorage}}); +},{persist : false}); //开启持久化) \ No newline at end of file