fix: 修复表单回车刷新页面

This commit is contained in:
kailong321200875 2023-12-07 11:04:54 +08:00
parent 26f904f485
commit 2f6483652b
1 changed files with 4 additions and 0 deletions

View File

@ -386,6 +386,10 @@ export default defineComponent({
{...getFormBindValue()}
model={unref(getProps).isCustom ? unref(getProps).model : formModel}
class={prefixCls}
// @ts-ignore
onSubmit={(e: Event) => {
e.preventDefault()
}}
>
{{
//