feat: migrate Picker component

This commit is contained in:
chenjiahan
2020-07-26 15:41:09 +08:00
parent 7e47a0721b
commit 9fa7a258d7
5 changed files with 50 additions and 45 deletions

View File

@@ -62,14 +62,14 @@
<demo-block card v-if="!isWeapp" :title="t('withPopup')">
<van-field
v-model="fieldValue"
readonly
clickable
:label="t('city')"
:value="fieldValue"
:placeholder="t('chooseCity')"
@click="onClickField"
/>
<van-popup v-model="showPicker" round position="bottom">
<van-popup v-model:show="showPicker" round position="bottom">
<van-picker
show-toolbar
:title="t('title')"