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