fix(BasicForm): script setup defineExpose (#3316)

This commit is contained in:
bowen 2023-11-22 10:02:26 +08:00 committed by GitHub
parent c715d35ad5
commit f58ef6777c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -293,6 +293,10 @@
() => ({ ...getProps.value, ...advanceState }) as InstanceType<typeof FormAction>['$props'],
);
defineExpose({
setProps,
});
onMounted(() => {
initDefault();
emit('register', formActionType);