mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-05 19:41:37 +08:00
修复:混合模式下菜单权限过滤无效问题;
This commit is contained in:
parent
aa4e3d93d5
commit
ba89880736
@ -30,8 +30,8 @@ export default {
|
|||||||
}
|
}
|
||||||
return state.menuData
|
return state.menuData
|
||||||
},
|
},
|
||||||
firstMenu(state) {
|
firstMenu(state, getters) {
|
||||||
const {menuData} = state
|
const {menuData} = getters
|
||||||
if (menuData.length > 0 && !menuData[0].fullPath) {
|
if (menuData.length > 0 && !menuData[0].fullPath) {
|
||||||
formatFullPath(menuData)
|
formatFullPath(menuData)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user