Commit 4610b659 authored by 彭俊龙's avatar 彭俊龙

feat:自动化工单方案测试提交

parent 75efecd6
Pipeline #96685 failed with stages
......@@ -1609,6 +1609,10 @@ const CaseModify = props => {
if(isObject(formJsonRef.current)){
const formJsonData = getFormData(formJsonRef.current);
const { errors, formValue } = await formRef.current.getValues();
if(errors.length > 0){
message.warn('表单校验不通过,请先完善表单')
return;
}
const values = formValue.map(v=> {
if(formJsonData[v.fieldName]){
const { widget, presetValue, isStoreID, isMySite } = formJsonData[v.fieldName]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment