diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 37c569f8b..950cbeaf7 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -422,7 +422,9 @@ watch(()=>props.tableData,() => { deep:true }) watch(()=>unref(formRef)?.formModel,() => { - props?.sumFormDataByForm(formRef,unref(formRef)?.formModel) + if(props?.sumFormDataByForm&&unref(formRef)?.formModel){ + props?.sumFormDataByForm(formRef,unref(formRef)?.formModel) + } },{ deep:true })