Browse Source

解决回车刷新页面问题

hella_online_20241114
yufei_wang 2 weeks ago
parent
commit
e942f50b3e
  1. 1
      src/components/Form/src/Form.vue

1
src/components/Form/src/Form.vue

@ -197,6 +197,7 @@ export default defineComponent({
emit('onChange', field, cur) emit('onChange', field, cur)
} }
const onSubmit = (event) => { const onSubmit = (event) => {
event.preventDefault();
emit('onSubmit', event) emit('onSubmit', event)
} }

Loading…
Cancel
Save