更改开发目录

This commit is contained in:
2025-08-04 21:03:03 +08:00
parent 669f10c15a
commit 7168c5ca09
4 changed files with 38 additions and 8 deletions

View File

@@ -131,6 +131,15 @@ export const useUserStore = defineStore({
}
return m;
});
},
/**
* 重置用户状态(退出登录时调用)
*/
resetUserState() {
this.info = null;
this.menus = null;
this.authorities = [];
this.roles = [];
}
}
});