|
@@ -257,7 +257,6 @@ export default {
|
|
|
getList() {
|
|
getList() {
|
|
|
listMenu(this.queryParams).then(response => {
|
|
listMenu(this.queryParams).then(response => {
|
|
|
this.menuList = this.handleTree(response.data, "id");
|
|
this.menuList = this.handleTree(response.data, "id");
|
|
|
- console.log(this.menuList);
|
|
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
/** 搜索按钮操作 */
|
|
@@ -276,7 +275,6 @@ export default {
|
|
|
const menu = {id: 0, menuName: '主类目', children: []};
|
|
const menu = {id: 0, menuName: '主类目', children: []};
|
|
|
menu.children = this.handleTree(response.data, "id");
|
|
menu.children = this.handleTree(response.data, "id");
|
|
|
this.menuOptions.push(menu);
|
|
this.menuOptions.push(menu);
|
|
|
- console.log(menu);
|
|
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
/** 转换菜单数据结构 */
|
|
/** 转换菜单数据结构 */
|