1
0

feat(web): 添加资源 ID 并优化相关功能

- 在 WareController 中添加 resourceId 字段
- 更新前端市场页面,将 targetId映射为 resourceId
- 修改权限管理页面图标
- 移除不必要的 console.log 语句
This commit is contained in:
2024-12-18 10:49:37 +08:00
parent 608ab5f37e
commit 80a24513ab
3 changed files with 6 additions and 7 deletions

View File

@@ -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(),

View File

@@ -27,7 +27,7 @@ export function tabPermissions() {
return {
visibleOn: userOnly,
title: '权属管理',
icon: 'fa fa-user-shield',
icon: 'fa fa-key',
reload: true,
body: {
type: 'tabs',