Skip to content

Commit

Permalink
fix(form): taro h5 env button submit bug jd-opensource#1350
Browse files Browse the repository at this point in the history
  • Loading branch information
richard1015 committed Jun 15, 2022
1 parent 86c6110 commit 19ca767
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/packages/__VUE/form/index.taro.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<form class="nut-form" action="#" @submit.prevent="onSubmit">
<form class="nut-form" action="#" @submit.prevent="() => false">
<nut-cell-group>
<slot></slot>
</nut-cell-group>
Expand Down
2 changes: 1 addition & 1 deletion src/packages/__VUE/form/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<form class="nut-form" action="#" @submit.prevent="onSubmit">
<form class="nut-form" action="#" @submit.prevent="() => false">
<nut-cell-group>
<slot></slot>
</nut-cell-group>
Expand Down

0 comments on commit 19ca767

Please sign in to comment.