[Improvement] Popup: support lazy render (#1138)

This commit is contained in:
neverland
2018-05-23 11:01:27 +08:00
committed by GitHub
parent 7f10d99d3d
commit cb992ce979
14 changed files with 223 additions and 49 deletions

View File

@@ -8,7 +8,7 @@
@click="showList = true"
/>
<van-popup v-model="showList" position="bottom">
<van-popup v-model="showList" position="bottom" :lazy-render="false">
<van-contact-list
v-model="chosenContactId"
:list="list"
@@ -18,7 +18,7 @@
/>
</van-popup>
<van-popup v-model="showEdit" position="bottom">
<van-popup v-model="showEdit" position="bottom" :lazy-render="false">
<van-contact-edit
:contact-info="editingContact"
:is-edit="isEdit"