Browse Source

[Mod 0000]用户设置增加所属部门的必填校验

wangkeyi 2 days ago
parent
commit
64aa7f7692
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/system/user/user.data.ts

+ 1 - 0
src/views/system/user/user.data.ts

@@ -211,6 +211,7 @@ export const formSchema: FormSchema[] = [
     label: '所属部门',
     field: 'selecteddeparts',
     component: 'JSelectDept',
+    required: true,
     componentProps: ({ formActionType, formModel }) => {
       return {
         sync: false,