fix(BasicForm): script setup defineExpose (#3316)
This commit is contained in:
parent
c715d35ad5
commit
f58ef6777c
|
|
@ -293,6 +293,10 @@
|
||||||
() => ({ ...getProps.value, ...advanceState }) as InstanceType<typeof FormAction>['$props'],
|
() => ({ ...getProps.value, ...advanceState }) as InstanceType<typeof FormAction>['$props'],
|
||||||
);
|
);
|
||||||
|
|
||||||
|
defineExpose({
|
||||||
|
setProps,
|
||||||
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
initDefault();
|
initDefault();
|
||||||
emit('register', formActionType);
|
emit('register', formActionType);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue