mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
perf(picker): shorten template code (#3973)
This commit is contained in:
parent
600e189aa0
commit
5e1c65e52a
@ -1,8 +1,4 @@
|
|||||||
<template name="toolbar">
|
<view wx:if="{{ showToolbar }}" class="van-picker__toolbar toolbar-class">
|
||||||
<view
|
|
||||||
wx:if="{{ showToolbar }}"
|
|
||||||
class="van-picker__toolbar toolbar-class"
|
|
||||||
>
|
|
||||||
<view
|
<view
|
||||||
class="van-picker__cancel"
|
class="van-picker__cancel"
|
||||||
hover-class="van-picker__cancel--hover"
|
hover-class="van-picker__cancel--hover"
|
||||||
@ -25,4 +21,3 @@
|
|||||||
{{ confirmButtonText }}
|
{{ confirmButtonText }}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user