官方案例
需要把width加上,切height设置为100%。
<van-popup v-model="sz" position="right" :style="{ width: '20%',height: '100%' }" />
vant的弹出层(Popup)位置设置为左边和右边踩坑解决
最新推荐文章于 2024-04-25 15:53:37 发布
官方案例
需要把width加上,切height设置为100%。
<van-popup v-model="sz" position="right" :style="{ width: '20%',height: '100%' }" />