feat(Cascader): add close icon

This commit is contained in:
chenjiahan
2020-12-20 21:23:50 +08:00
committed by neverland
parent 347758a935
commit 5d2bd8f6df
3 changed files with 21 additions and 1 deletions
+5 -1
View File
@@ -9,7 +9,11 @@
@click="showBase = true"
/>
<van-popup v-model="showBase" round position="bottom">
<van-cascader :title="t('selectArea')" :options="t('options')" />
<van-cascader
:title="t('selectArea')"
:options="t('options')"
@close="showBase = false"
/>
</van-popup>
</demo-block>
</demo-section>