feat: form config
parent
015f2d5d85
commit
8e16d14682
|
@ -22,7 +22,7 @@ const [register, { setFieldsValue, resetFields, validate }] = useForm({
|
||||||
},
|
},
|
||||||
showResetButton: false,
|
showResetButton: false,
|
||||||
submitButtonOptions: {
|
submitButtonOptions: {
|
||||||
text: '下一步',
|
text: '保存',
|
||||||
},
|
},
|
||||||
submitFunc: customSubmitFunc,
|
submitFunc: customSubmitFunc,
|
||||||
})
|
})
|
||||||
|
|
|
@ -16,8 +16,7 @@ const [register, { setFieldsValue, getFieldsValue, validateFields, resetFields,
|
||||||
baseColProps: {
|
baseColProps: {
|
||||||
span: 24,
|
span: 24,
|
||||||
},
|
},
|
||||||
showSubmitButton: false,
|
showActionButtonGroup: false,
|
||||||
showResetButton: false,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// 存储动态生成的字段信息 后续需要进行移除
|
// 存储动态生成的字段信息 后续需要进行移除
|
||||||
|
|
|
@ -19,8 +19,7 @@ const [register, { setFieldsValue, getFieldsValue, validateFields, resetFields,
|
||||||
baseColProps: {
|
baseColProps: {
|
||||||
span: 24,
|
span: 24,
|
||||||
},
|
},
|
||||||
showSubmitButton: false,
|
showActionButtonGroup: false,
|
||||||
showResetButton: false,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const [innerRegister, { changeLoading, closeModal }] = useModalInner((data: NotifyTemplate) => {
|
const [innerRegister, { changeLoading, closeModal }] = useModalInner((data: NotifyTemplate) => {
|
||||||
|
|
|
@ -19,8 +19,7 @@ const [register, { setFieldsValue, getFieldsValue, validateFields, resetFields,
|
||||||
baseColProps: {
|
baseColProps: {
|
||||||
span: 24,
|
span: 24,
|
||||||
},
|
},
|
||||||
showSubmitButton: false,
|
showActionButtonGroup: false,
|
||||||
showResetButton: false,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
const [innerRegister, { changeLoading, closeModal }] = useModalInner((data: SmsTemplateVO) => {
|
const [innerRegister, { changeLoading, closeModal }] = useModalInner((data: SmsTemplateVO) => {
|
||||||
|
|
Loading…
Reference in New Issue