diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue index 3d0c9f2e5..c825bccf4 100644 --- a/src/components/BasicForm/src/BasicForm.vue +++ b/src/components/BasicForm/src/BasicForm.vue @@ -961,6 +961,9 @@ const onChange = (field, cur) => { emit('onChange', field, cur, formRef) } +const setDefaultBlurValue = (field, value) => { + onBlur(field, value) +} /** * 监听失焦事件 * @param field 当前操作字段 @@ -1139,7 +1142,8 @@ defineExpose({ handleAddTable, changeDialogWidth, searchTableRef, - tableFormRef + tableFormRef, + setDefaultBlurValue }) // 提供 open 方法,用于打开弹窗