登录界面优化

This commit is contained in:
2026-06-18 15:10:50 +08:00
parent d7461853cf
commit 8041f5734b
16 changed files with 1844 additions and 151 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ export const useUserStore = defineStore('user', () => {
const currentProject = ref(null)
// 监听 currentProject 变化,获取菜单权限
watch(() => currentProject.value?.ProjectId, (newId) => {
if (newId) {
watch(() => currentProject.value?.ProjectId, (newId,oldId) => {
if (newId!==oldId) {
// 项目变化 请求菜单权限
const menuStore = useMenuStore()
const userId = userInfo.value?.PersonId