摘要: // 后台返回菜单json数据,根据组件缺少key 与title,需对数据进行二次加工。 // 菜单结构树转换 export const changeMenuTreeData = (arr) => { if (arr) { arr.forEach((item, index) => { // item 阅读全文
posted @ 2020-04-28 14:43 Gaochunling 阅读(561) 评论(0) 推荐(0) 编辑