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