style: 优化系统管理中账号、角色和部门表单样式 (#1992)
Co-authored-by: 发光的卤蛋 <zdxndy@qq.com>
This commit is contained in:
parent
2c536976e8
commit
06236c9fe0
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
const [registerForm, { setFieldsValue, updateSchema, resetFields, validate }] = useForm({
|
const [registerForm, { setFieldsValue, updateSchema, resetFields, validate }] = useForm({
|
||||||
labelWidth: 100,
|
labelWidth: 100,
|
||||||
|
baseColProps: { span: 24 },
|
||||||
schemas: accountFormSchema,
|
schemas: accountFormSchema,
|
||||||
showActionButtonGroup: false,
|
showActionButtonGroup: false,
|
||||||
actionColOptions: {
|
actionColOptions: {
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
const [registerForm, { resetFields, setFieldsValue, updateSchema, validate }] = useForm({
|
const [registerForm, { resetFields, setFieldsValue, updateSchema, validate }] = useForm({
|
||||||
labelWidth: 100,
|
labelWidth: 100,
|
||||||
|
baseColProps: { span: 24 },
|
||||||
schemas: formSchema,
|
schemas: formSchema,
|
||||||
showActionButtonGroup: false,
|
showActionButtonGroup: false,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
setup() {
|
setup() {
|
||||||
const [register, { validate, resetFields }] = useForm({
|
const [register, { validate, resetFields }] = useForm({
|
||||||
size: 'large',
|
size: 'large',
|
||||||
|
baseColProps: { span: 24 },
|
||||||
labelWidth: 100,
|
labelWidth: 100,
|
||||||
showActionButtonGroup: false,
|
showActionButtonGroup: false,
|
||||||
schemas: formSchema,
|
schemas: formSchema,
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@
|
||||||
|
|
||||||
const [registerForm, { resetFields, setFieldsValue, validate }] = useForm({
|
const [registerForm, { resetFields, setFieldsValue, validate }] = useForm({
|
||||||
labelWidth: 90,
|
labelWidth: 90,
|
||||||
|
baseColProps: { span: 24 },
|
||||||
schemas: formSchema,
|
schemas: formSchema,
|
||||||
showActionButtonGroup: false,
|
showActionButtonGroup: false,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue