1. 修改 MenuDO 的字段,menuId 改成 id,menuName 改成 name

2. 添加 Menu 的创建、修改、删除接口
This commit is contained in:
YunaiV
2021-01-08 20:08:20 +08:00
parent dba723b8fc
commit ea4c9e4981
29 changed files with 503 additions and 237 deletions

View File

@ -28,8 +28,8 @@ const actions = {
}
// 处理 dictValue 层级
dictDataMap[dictData.dictType].push({
dictValue: dictData.dictValue,
dictLabel: dictData.dictLabel
value: dictData.value,
label: dictData.label
})
})
// 存储到 Store 中

View File

@ -44,7 +44,7 @@ function filterAsyncRouter(asyncRouterMap, isRewrite = false) {
// 将 ruoyi 后端原有耦合前端的逻辑,迁移到此处
// 处理 meta 属性
route.meta = {
title: route.menuName,
title: route.name,
icon: route.icon
}
// 处理 component 属性