From 6aaae1b3cc80a7e19a2f9cce27561f2bdd17182a Mon Sep 17 00:00:00 2001 From: xingyu Date: Thu, 4 May 2023 15:59:37 +0800 Subject: [PATCH] fix: dept --- src/views/system/dept/dept.data.ts | 1 + 1 file changed, 1 insertion(+) 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(),