vant-weapp/packages/area/index.wxml
nemo-shen 1e7cbe30fb
feat(Area): add show-toolbar prop default true (#4752)
* feat(Area): add show-toolbar prop default true

* fix(Area): fix default value
2022-02-07 09:51:06 +08:00

21 lines
594 B
Plaintext

<wxs src="./index.wxs" module="computed" />
<van-picker
class="van-area__picker"
active-class="active-class"
toolbar-class="toolbar-class"
column-class="column-class"
show-toolbar="{{ showToolbar }}"
value-key="name"
title="{{ title }}"
loading="{{ loading }}"
columns="{{ computed.displayColumns(columns, columnsNum) }}"
item-height="{{ itemHeight }}"
visible-item-count="{{ visibleItemCount }}"
cancel-button-text="{{ cancelButtonText }}"
confirm-button-text="{{ confirmButtonText }}"
bind:change="onChange"
bind:confirm="onConfirm"
bind:cancel="onCancel"
/>