bug: 首页不受权限控制
This commit is contained in:
parent
ee0525e62b
commit
d1356f167c
@ -92,7 +92,7 @@ export function fliteredMenus() {
|
|||||||
return !item.hidden
|
return !item.hidden
|
||||||
})
|
})
|
||||||
.filter((item) => {
|
.filter((item) => {
|
||||||
if (item.name === 'dashboard') return true // 首页显示
|
if (item.key === 'Dashboard') return true // 首页显示
|
||||||
return hasPermission(item.keyPath)
|
return hasPermission(item.keyPath)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user