mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-09 18:59:26 +08:00
fix: 一级部门不能修改上级部门
This commit is contained in:
@@ -40,6 +40,9 @@ const columns: Columns = [
|
||||
field: 'parentId',
|
||||
type: 'tree-select',
|
||||
data: deptList,
|
||||
hide: (form) => {
|
||||
return form.parentId === 0
|
||||
},
|
||||
props: {
|
||||
allowClear: true,
|
||||
allowSearch: true,
|
||||
|
Reference in New Issue
Block a user