Commit f78639d3 by caoyanzhi

fix: 修复权限配置bug

parent 4af97867
......@@ -105,7 +105,7 @@ export default {
// roleType 1管理员角色 2门店角色
prom.push(menuList(Object.assign({}, params, { appType: el.appType })).then(res => {
el.flatMenu = res.result || [];
el.menuList = this.flatDataToTree(el.flatMenu);
el.menuList = this.flatDataToTree(res.result || []);
el.menuList.forEach(item => {
this.$set(el.checkedId, item.menuId, []);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment