Skip to content

Commit 38b19e3

Browse files
muronggjuzi214032
authored andcommitted
fix(Form): 修复提交与重置按钮无效问题
将 form 组件插槽上级绑定事件的 mut-bind 更改为 capture-bind close #1028
1 parent d7d75e1 commit 38b19e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/form/index.wxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
<slot />
33
</view>
44
<view class="l-form-btn-class">
5-
<view class="l-form-submit-class" mut-bind:tap="submit">
5+
<view class="l-form-submit-class" capture-bind:tap="submit">
66
<slot name="submit"/>
77
</view>
8-
<view class="l-form-reset-class" mut-bind:tap="reset">
8+
<view class="l-form-reset-class" capture-bind:tap="reset">
99
<slot name="reset"/>
1010
</view>
1111
</view>

0 commit comments

Comments
 (0)