mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
[bugfix] Checkbox: should not render label when label is empty (#920)
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
>
|
||||
<icon :name="currentValue === name ? 'checked' : 'check'" />
|
||||
</span>
|
||||
<span class="van-radio__label" @click="onClickLabel">
|
||||
<span v-if="$slots.default" class="van-radio__label" @click="onClickLabel">
|
||||
<slot />
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user