mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +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
|
||||
class="van-picker__cancel"
|
||||
hover-class="van-picker__cancel--hover"
|
||||
@ -24,5 +20,4 @@
|
||||
>
|
||||
{{ confirmButtonText }}
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user