Commit 06236c9fe09584f7e0844c61c895cf0aebdbae8d

Authored by fuling
Committed by GitHub
1 parent 2c536976

style: 优化系统管理中账号、角色和部门表单样式 (#1992)

Co-authored-by: 发光的卤蛋 <zdxndy@qq.com>
src/views/demo/system/account/AccountModal.vue
... ... @@ -20,6 +20,7 @@
20 20  
21 21 const [registerForm, { setFieldsValue, updateSchema, resetFields, validate }] = useForm({
22 22 labelWidth: 100,
  23 + baseColProps: { span: 24 },
23 24 schemas: accountFormSchema,
24 25 showActionButtonGroup: false,
25 26 actionColOptions: {
... ...
src/views/demo/system/dept/DeptModal.vue
... ... @@ -19,6 +19,7 @@
19 19  
20 20 const [registerForm, { resetFields, setFieldsValue, updateSchema, validate }] = useForm({
21 21 labelWidth: 100,
  22 + baseColProps: { span: 24 },
22 23 schemas: formSchema,
23 24 showActionButtonGroup: false,
24 25 });
... ...
src/views/demo/system/password/index.vue
... ... @@ -21,6 +21,7 @@
21 21 setup() {
22 22 const [register, { validate, resetFields }] = useForm({
23 23 size: 'large',
  24 + baseColProps: { span: 24 },
24 25 labelWidth: 100,
25 26 showActionButtonGroup: false,
26 27 schemas: formSchema,
... ...
src/views/demo/system/role/RoleDrawer.vue
... ... @@ -40,6 +40,7 @@
40 40  
41 41 const [registerForm, { resetFields, setFieldsValue, validate }] = useForm({
42 42 labelWidth: 90,
  43 + baseColProps: { span: 24 },
43 44 schemas: formSchema,
44 45 showActionButtonGroup: false,
45 46 });
... ...