diff --git a/src/views/system/dept/dept.data.ts b/src/views/system/dept/dept.data.ts index 93cc62c..0cdb046 100644 --- a/src/views/system/dept/dept.data.ts +++ b/src/views/system/dept/dept.data.ts @@ -86,6 +86,7 @@ export const formSchema: FormSchema[] = [ label: '上级部门', field: 'parentId', required: true, + defaultValue: 0, component: 'ApiTreeSelect', componentProps: { api: () => listSimpleDept(),