From bbca39a61e340aea0604866b756b628da883325e Mon Sep 17 00:00:00 2001 From: crazyair <645381995@qq.com> Date: Wed, 24 Apr 2024 17:29:39 +0800 Subject: [PATCH] feat: test --- src/useForm.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/useForm.ts b/src/useForm.ts index dba99f18..9dd90dbd 100644 --- a/src/useForm.ts +++ b/src/useForm.ts @@ -203,7 +203,7 @@ export class FormStore { }; }; private onFormLoad: InternalHooks['onFormLoad'] = () => { - this.config?.onFormLoad(); + this.config?.onFormLoad?.(); }; private notifyWatch = (namePath: InternalNamePath[] = []) => {