bug修护
parent
a2dc77d99c
commit
c4861a858d
|
|
@ -55,9 +55,9 @@ function DepartmentPositionPage(props) {
|
|||
try {
|
||||
const res = await props.staffInfoList?.({ pageIndex: 1, pageSize: 500 });
|
||||
setStaffOptions((res?.data || []).map((s) => ({
|
||||
label: `${s.staffName}(${s.account})`,
|
||||
label: `${s.userName ?? s.staffName}(${s.account})`,
|
||||
value: s.account,
|
||||
staffName: s.staffName,
|
||||
staffName: s.userName ?? s.staffName,
|
||||
})));
|
||||
}
|
||||
catch (err) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue