docs: fix typos (#5105)

This commit is contained in:
Netfan
2024-12-11 14:48:08 +08:00
committed by GitHub
parent 4a20156f3d
commit 43adc943b9
3 changed files with 3 additions and 4 deletions

View File

@@ -62,9 +62,7 @@ function handleKeyDownEnter(event: KeyboardEvent) {
watch(
() => form.values,
useDebounceFn(() => {
(props.handleValuesChange ?? state.value.handleValuesChange)?.(
toRaw(form.values),
);
forward.value.handleValuesChange?.(toRaw(form.values));
state.value.submitOnChange && props.formApi?.submitForm();
}, 300),
{ deep: true },