mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-24 07:55:06 +08:00
1. 修改 MenuDO 的字段,menuId 改成 id,menuName 改成 name
2. 添加 Menu 的创建、修改、删除接口
This commit is contained in:
@ -28,8 +28,8 @@ const actions = {
|
||||
}
|
||||
// 处理 dictValue 层级
|
||||
dictDataMap[dictData.dictType].push({
|
||||
dictValue: dictData.dictValue,
|
||||
dictLabel: dictData.dictLabel
|
||||
value: dictData.value,
|
||||
label: dictData.label
|
||||
})
|
||||
})
|
||||
// 存储到 Store 中
|
||||
|
@ -44,7 +44,7 @@ function filterAsyncRouter(asyncRouterMap, isRewrite = false) {
|
||||
// 将 ruoyi 后端原有耦合前端的逻辑,迁移到此处
|
||||
// 处理 meta 属性
|
||||
route.meta = {
|
||||
title: route.menuName,
|
||||
title: route.name,
|
||||
icon: route.icon
|
||||
}
|
||||
// 处理 component 属性
|
||||
|
Reference in New Issue
Block a user