mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bugfix] Switch: can't change status (#438)
This commit is contained in:
parent
f6e25a26db
commit
15658e9270
@ -1,7 +1,7 @@
|
||||
<view
|
||||
class="van-switch custom-class {{ checked ? 'van-switch--on' : '' }} {{ disabled ? 'van-switch--disabled' : '' }}"
|
||||
style="font-size: {{ size }};"
|
||||
bind:tap="Click"
|
||||
bind:tap="onClick"
|
||||
>
|
||||
<view class="van-switch__node node-class">
|
||||
<van-loading wx:if="{{ loading }}" size="50%" custom-class="van-switch__loading" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user