Skip to content

Commit 117d23d

Browse files
committed
refactor(Radio): 修改 bind:tap 为 mut-bind:tap
1 parent ffb57ce commit 117d23d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/radio/index.wxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<view bind:tap="onRadioChangeTap"
1+
<view mut-bind:tap="onRadioChangeTap"
22
class="label label-{{placement}} {{disabled?'label-disabled l-disabled-class':'l-class'}}">
33
<view class="radio"
44
style="color:{{checked?selectColor:(disabled?disabledColor:color)}};font-size:{{size}}">
55
<slot wx:if="{{custom}}" name="icon"/>
66
<view wx:else class="iconfont {{checked?'icon-select':'icon-unselect'}}"></view>
77
</view>
88
<slot/>
9-
</view>
9+
</view>

0 commit comments

Comments
 (0)