|
@@ -190,8 +190,15 @@ export default {
|
|
]
|
|
]
|
|
})
|
|
})
|
|
// 根据父id去发送请求
|
|
// 根据父id去发送请求
|
|
- const res = await getMenuListByParentId(item.parentId)
|
|
|
|
- console.log(res)
|
|
|
|
|
|
+ const { list } = await getMenuListByParentId(item.parentId)
|
|
|
|
+ console.log(list)
|
|
|
|
+ const menuUrls = list.map(el => {
|
|
|
|
+ return {
|
|
|
|
+ menuUrl: el.menuUrlDtos,
|
|
|
|
+ urldesc: el.menuName
|
|
|
|
+ }
|
|
|
|
+ })
|
|
|
|
+ this.menuFormData.menuUrls = menuUrls
|
|
this.dialogFormVisible = true
|
|
this.dialogFormVisible = true
|
|
},
|
|
},
|
|
// 根据id删除服务器数据
|
|
// 根据id删除服务器数据
|