From e942f50b3eb9a5c4188f9dceced4cd33654d743b Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Wed, 13 Nov 2024 13:46:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=9B=9E=E8=BD=A6=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E9=A1=B5=E9=9D=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Form/src/Form.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Form/src/Form.vue b/src/components/Form/src/Form.vue index 33db690db..af48eb620 100644 --- a/src/components/Form/src/Form.vue +++ b/src/components/Form/src/Form.vue @@ -197,6 +197,7 @@ export default defineComponent({ emit('onChange', field, cur) } const onSubmit = (event) => { + event.preventDefault(); emit('onSubmit', event) }