Fix emits
This commit is contained in:
parent
4dd0fc4c4b
commit
768cf47bd3
|
@ -232,7 +232,7 @@ const {resolveComponentName} = useFields();
|
|||
|
||||
async function submit() {
|
||||
if (props.asForm) {
|
||||
emit('save', payload.value);
|
||||
emits('save', payload.value);
|
||||
return;
|
||||
}
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue