Skip to content

Commit 1b832b2

Browse files
muronggjuzi214032
authored andcommitted
fix(Grid): 修复组件 lintap 事件不会触发问题
修复 Grid 组件 lintap 事件以及 tapGridItem 事件不会触发问题 close #1059
1 parent 8188ac2 commit 1b832b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/grid/index.wxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<view class="l-grid l-class" mut-bind:tap="tapGrid">
1+
<view class="l-grid l-class" bind:tap="tapGrid">
22
<view
3-
mut-bind:tap="tapGridItem"
3+
bind:tap="tapGridItem"
44
data-grid-index="{{item.index}}"
55
class="l-grid-item l-class-grid l-grid-class {{index%rowNum !== rowNum-1 &&(showBorder||showColBorder) ? 'side-grid':''}} {{(index<gridItems.length-(gridItems.length%rowNum||rowNum)) &&(showBorder||showRowBorder)? 'center-grid':''}}" wx:for="{{gridItems}}" wx:key="key"
66
style="min-width:{{100/rowNum}}%;"

0 commit comments

Comments
 (0)