fix: bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m7s

This commit is contained in:
sexygoat
2026-04-25 12:01:21 +08:00
parent 17c299e4ce
commit 9247001643
9 changed files with 901 additions and 311 deletions

View File

@@ -241,12 +241,14 @@
{
prop: 'perm_name',
label: '权限名称',
width: 240
width: 240,
showOverflowTooltip: true
},
{
prop: 'perm_code',
label: '权限标识',
width: 240
width: 240,
showOverflowTooltip: true
},
{
prop: 'perm_type',
@@ -260,7 +262,8 @@
},
{
prop: 'url',
label: '菜单路径'
label: '菜单路径',
showOverflowTooltip: true
},
{
prop: 'platform',
@@ -275,24 +278,6 @@
return platformMap[row.platform || 'all'] || row.platform
}
},
// {
// prop: 'available_for_role_types',
// label: '可用角色类型',
// width: 160,
// formatter: (row: PermissionTreeNode) => {
// if (!row.available_for_role_types) {
// return '-'
// }
// const roleTypeMap: Record<string, string> = {
// '1': '平台角色',
// '2': '客户角色'
// }
// const types = row.available_for_role_types
// .split(',')
// .map((type) => roleTypeMap[type.trim()] || type)
// return types.join(', ')
// }
// },
{
prop: 'status',
label: '状态',