fix(Popup): animation

This commit is contained in:
chenjiahan
2020-07-06 15:06:05 +08:00
parent 57e035bb26
commit 7087922d18
3 changed files with 34 additions and 38 deletions
+5 -7
View File
@@ -13,7 +13,11 @@
<van-cell :title="t('buttonLeft')" is-link @click="showLeft = true" />
<van-cell :title="t('buttonRight')" is-link @click="showRight = true" />
<van-popup v-model:show="showTop" position="top" :style="{ height: '30%' }" />
<van-popup
v-model:show="showTop"
position="top"
:style="{ height: '30%' }"
/>
<van-popup
v-model:show="showBottom"
position="bottom"
@@ -140,12 +144,6 @@ export default {
showCustomIconPosition: false,
};
},
watch: {
showBasic(val) {
console.log('showBasic', val);
}
}
};
</script>