修正部门配置

main
白封羽 2023-01-07 11:39:11 +08:00
parent ec17ab2e10
commit eb9de2f1e3
1 changed files with 13 additions and 12 deletions

View File

@ -76,8 +76,9 @@ class DepartmentConfig extends React.Component<any, any> {
return []
}
let res = []
console.log(columns)
for (let i = 0; i < columns.length; i++) {
console.log(columns[i].departmentName)
if (columns[i].deletedAt == null)
res.push({
id: columns[i].departmentId,
departmentId: columns[i].departmentId,