fix: InputNumber add defaultValue
parent
80d11b8554
commit
791976b884
|
|
@ -89,7 +89,6 @@ export const formSchema: FormSchema[] = [
|
|||
label: '流程分类',
|
||||
field: 'category',
|
||||
component: 'Select',
|
||||
dynamicDisabled: ({ values }) => !!values.id,
|
||||
componentProps: {
|
||||
options: getIntDictOptions(DICT_TYPE.BPM_MODEL_CATEGORY)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ export const formSchema: FormSchema[] = [
|
|||
label: '岗位顺序',
|
||||
field: 'sort',
|
||||
required: true,
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ export const formSchema: FormSchema[] = [
|
|||
field: 'retryCount',
|
||||
required: true,
|
||||
helpMessage: '设置为 0 时,不进行重试',
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
|
|
@ -104,6 +105,7 @@ export const formSchema: FormSchema[] = [
|
|||
field: 'retryInterval',
|
||||
required: true,
|
||||
helpMessage: '单位:毫秒。设置为 0 时,无需间隔',
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber',
|
||||
suffix: '毫秒'
|
||||
},
|
||||
|
|
|
|||
|
|
@ -109,6 +109,7 @@ export const formSchema: FormSchema[] = [
|
|||
label: '岗位顺序',
|
||||
field: 'sort',
|
||||
required: true,
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -103,6 +103,7 @@ export const dataFormSchema: FormSchema[] = [
|
|||
label: '显示排序',
|
||||
field: 'sort',
|
||||
required: true,
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -135,12 +135,14 @@ export const formSchema: FormSchema[] = [
|
|||
label: '访问令牌的有效期',
|
||||
field: 'accessTokenValiditySeconds',
|
||||
required: true,
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
label: '刷新令牌的有效期',
|
||||
field: 'refreshTokenValiditySeconds',
|
||||
required: true,
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -92,6 +92,7 @@ export const formSchema: FormSchema[] = [
|
|||
label: '岗位顺序',
|
||||
field: 'sort',
|
||||
required: true,
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -102,6 +102,7 @@ export const formSchema: FormSchema[] = [
|
|||
label: '角色顺序',
|
||||
field: 'sort',
|
||||
required: true,
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -159,6 +159,7 @@ export const formSchema: FormSchema[] = [
|
|||
label: '账号额度',
|
||||
field: 'accountCount',
|
||||
required: true,
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -147,6 +147,7 @@ export const formSchema: FormSchema[] = [
|
|||
label: '手机号码',
|
||||
field: 'mobile',
|
||||
required: true,
|
||||
defaultValue: 0,
|
||||
component: 'InputNumber'
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue