Skip to content

Commit

Permalink
fix(BasicForm): script setup defineExpose (#3316)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiaowoxiaobala authored Nov 22, 2023
1 parent c715d35 commit f58ef67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/Form/src/BasicForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,10 @@
() => ({ ...getProps.value, ...advanceState }) as InstanceType<typeof FormAction>['$props'],
);
defineExpose({
setProps,
});
onMounted(() => {
initDefault();
emit('register', formActionType);
Expand Down

0 comments on commit f58ef67

Please sign in to comment.