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

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

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()