fix: 一级部门不能修改上级部门

This commit is contained in:
kils
2024-04-28 11:15:36 +08:00
committed by Charles7c
parent 5264cf226f
commit b2a1658e37

View File

@@ -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,