Browse Source

用户管理-删除部门后重新创建相同名称部门失败

dev
巴林闲侠 2 years ago
parent
commit
0b989fe87f
  1. 1
      api/app/lib/controllers/organization/department.js

1
api/app/lib/controllers/organization/department.js

@ -70,6 +70,7 @@ async function editDep (ctx) {
dependence: dependence || null,
name: name,
id: { $ne: depId },
delete: false
}
})
if (repeatNameCount) {

Loading…
Cancel
Save