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

Co-authored-by: 发光的卤蛋 <zdxndy@qq.com>
This commit is contained in:
fuling 2022-06-24 04:36:38 +08:00 committed by GitHub
parent 2c536976e8
commit 06236c9fe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,7 @@
const [registerForm, { setFieldsValue, updateSchema, resetFields, validate }] = useForm({
labelWidth: 100,
baseColProps: { span: 24 },
schemas: accountFormSchema,
showActionButtonGroup: false,
actionColOptions: {

View File

@ -19,6 +19,7 @@
const [registerForm, { resetFields, setFieldsValue, updateSchema, validate }] = useForm({
labelWidth: 100,
baseColProps: { span: 24 },
schemas: formSchema,
showActionButtonGroup: false,
});

View File

@ -21,6 +21,7 @@
setup() {
const [register, { validate, resetFields }] = useForm({
size: 'large',
baseColProps: { span: 24 },
labelWidth: 100,
showActionButtonGroup: false,
schemas: formSchema,

View File

@ -40,6 +40,7 @@
const [registerForm, { resetFields, setFieldsValue, validate }] = useForm({
labelWidth: 90,
baseColProps: { span: 24 },
schemas: formSchema,
showActionButtonGroup: false,
});