fix: 切换俱乐部后侧栏菜单响应式刷新

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
XingQueandCursor committed 2026-07-06 19:00:19 +08:00
1 parent 4b20c1fe39
commit ac1fafc817
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ const CLUB_SCOPE_KEY = 'admin_club_scope';
const CLUB_CONTEXT_KEY = 'admin_club_context';
const MENU_ACCESS_KEY = 'kefu_menu_access';
const MENU_SESSION_KEY = 'kefu_menu_session_v';
const MENU_SESSION_VERSION = '17';
const MENU_SESSION_VERSION = '18';
const DEFAULT_CLUB_ID = 'xq';
let menuAccessInflight = null;
+4 -1
View File
@@ -273,7 +273,10 @@ import {
const menuAccessState = ref(getMenuAccess())
const canShow = (pageId) => canShowMenuPage(pageId)
const canShow = (pageId) => {
void menuAccessState.value
return canShowMenuPage(pageId)
}
const { proxy } = getCurrentInstance()
const route = useRoute()