1
This commit is contained in:
@@ -251,7 +251,16 @@ export default {
|
||||
let menuTree = uiTool.transformTree(menuRows)
|
||||
this.gridOption.menuData = this.mapTree(menuTree)
|
||||
|
||||
this.$store.dispatch('setAuthorityMenus')
|
||||
// 菜单更新后重新加载权限菜单
|
||||
const framework = this.$framework || window.framework
|
||||
if (framework) {
|
||||
this.$store.dispatch('user/setAuthorityMenus', {
|
||||
Main: framework.components.Main,
|
||||
ParentView: framework.components.ParentView,
|
||||
Page404: framework.pages.Page404,
|
||||
HomePage: framework.HomePage
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
async initCol() {
|
||||
|
||||
Reference in New Issue
Block a user