perf: 修改 labels 关联

This commit is contained in:
ibuler
2023-12-18 17:55:46 +08:00
committed by 老广
parent f10e31bd60
commit 5cefbbfb51
4 changed files with 20 additions and 7 deletions

View File

@@ -120,10 +120,7 @@ export default {
ajax: {
url: '/api/v1/rbac/system-roles/?id!=00000000-0000-0000-0000-000000000004',
transformOption: (item) => {
if (item.name !== 'SystemComponent') {
return { label: item.display_name, value: item.id }
}
return false
return { label: item.display_name, value: item.id }
}
}
},