fix(*): 全量 UI 审查与 undefined 展示异常修复
This commit is contained in:
@@ -327,7 +327,7 @@ const OrgDeptManage = ({ orgId, featureFlags }) => {
|
||||
placeholder={t('选择部门')}
|
||||
style={{ width: 180 }}
|
||||
optionList={departments.map((d) => ({
|
||||
label: `${d.name}(${d.member_count})`,
|
||||
label: `${d.name || t('未命名部门')}(${d.member_count ?? 0})`,
|
||||
value: d.id,
|
||||
}))}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user