优化代码

This commit is contained in:
‘huanghaiixia’
2025-11-18 17:24:11 +08:00
parent 543b550214
commit 1141f8d0ac
5 changed files with 10 additions and 11 deletions

View File

@ -201,7 +201,7 @@ export const formProps: FormProps = {
colProps: { span: 24 }, colProps: { span: 24 },
defaultValue: '', defaultValue: '',
componentProps: { componentProps: {
width: '100%', width: '33.3%',
span: '', span: '',
defaultValue: '', defaultValue: '',
labelWidthMode: 'fix', labelWidthMode: 'fix',
@ -223,7 +223,7 @@ export const formProps: FormProps = {
isSave: false, isSave: false,
isShow: true, isShow: true,
scan: false, scan: false,
style: { width: '100%' }, style: { width: '50%' },
}, },
}, },
{ {

View File

@ -265,9 +265,8 @@ export const formProps: FormProps = {
responsive: false, responsive: false,
width: '100%', width: '100%',
span: '', span: '',
defaultValue: 0, defaultValue: '',
min: 0, min: 0,
max: 100,
step: 1, step: 1,
maxlength: null, maxlength: null,
disabled: false, disabled: false,

View File

@ -555,7 +555,7 @@ export const formProps: FormProps = {
width: '100%', width: '100%',
span: '', span: '',
defaultValue: null, defaultValue: null,
min: null, min: 0,
max: null, max: null,
step: 1, step: 1,
maxlength: null, maxlength: null,

View File

@ -343,12 +343,12 @@ export const formProps: FormProps = {
labelFixWidth: 120, labelFixWidth: 120,
responsive: false, responsive: false,
width: '100%', width: '100%',
precision: '2', precision: '6',
span: '', span: '',
defaultValue: null, defaultValue: null,
min: null, min: null,
max: null, max: null,
step: 0.01, step: 0.000001,
disabled: false, disabled: false,
showLabel: true, showLabel: true,
controls: true, controls: true,
@ -372,14 +372,14 @@ export const formProps: FormProps = {
labelWidthMode: 'fix', labelWidthMode: 'fix',
labelFixWidth: 120, labelFixWidth: 120,
responsive: false, responsive: false,
precision: '2', precision: '6',
width: '100%', width: '100%',
span: '', span: '',
defaultValue: null, defaultValue: null,
min: null, min: null,
max: null, max: null,
step: 0.01, step: 0.00001,
disabled: false, disabled: false,
showLabel: true, showLabel: true,
controls: true, controls: true,

View File

@ -318,9 +318,9 @@ export const formProps: FormProps = {
responsive: false, responsive: false,
width: '100%', width: '100%',
span: '', span: '',
defaultValue: 0, defaultValue: '',
min: 0, min: 0,
max: 100, max: null,
step: 1, step: 1,
maxlength: null, maxlength: null,
disabled: false, disabled: false,