feat(web): 添加资源 ID 并优化相关功能
- 在 WareController 中添加 resourceId 字段 - 更新前端市场页面,将 targetId映射为 resourceId - 修改权限管理页面图标 - 移除不必要的 console.log 语句
This commit is contained in:
@@ -28,13 +28,10 @@ export function tabMarket() {
|
||||
payload.data = payload.data.map(i => {
|
||||
return {
|
||||
...i,
|
||||
targetId: i.id
|
||||
targetId: i.resourceId,
|
||||
}
|
||||
})
|
||||
console.log(payload, response, api, context)
|
||||
return {
|
||||
...payload
|
||||
}
|
||||
return payload
|
||||
}
|
||||
},
|
||||
...crudCommonOptions(),
|
||||
|
||||
Reference in New Issue
Block a user