权限分配

This commit is contained in:
sin 2019-03-12 23:44:34 +08:00
parent 86c8f96209
commit b4ec81996c

View File

@ -200,7 +200,9 @@ export default {
// const resultMenuData = data; // const resultMenuData = data;
if (data !== 'all') { if (data !== 'all') {
const moveChildrenMenusData = moveChildrenMenus(antMenuData); const moveChildrenMenusData = moveChildrenMenus(antMenuData);
console.log('moveChildrenMenusData', moveChildrenMenusData);
const buildTreeMenuData = buildTreeMenu(antMenuData, moveChildrenMenusData, data); const buildTreeMenuData = buildTreeMenu(antMenuData, moveChildrenMenusData, data);
console.log('buildTreeMenuData', buildTreeMenuData);
menuData = buildTreeMenuData; menuData = buildTreeMenuData;
} }