diff --git a/src/components/Form/src/BasicForm.vue b/src/components/Form/src/BasicForm.vue index 023bd334a78..612b2871507 100644 --- a/src/components/Form/src/BasicForm.vue +++ b/src/components/Form/src/BasicForm.vue @@ -293,6 +293,10 @@ () => ({ ...getProps.value, ...advanceState }) as InstanceType['$props'], ); + defineExpose({ + setProps, + }); + onMounted(() => { initDefault(); emit('register', formActionType);