feat: migrate Swipe component

This commit is contained in:
chenjiahan
2020-08-17 10:12:56 +08:00
parent 79511fe331
commit f978642277
5 changed files with 20 additions and 15 deletions

View File

@@ -12,7 +12,9 @@
<demo-block :title="t('title2')">
<van-swipe :autoplay="3000">
<van-swipe-item v-for="(image, index) in images" :key="index">
<img v-lazy="image" />
<img :src="image" />
<!-- TODO -->
<!-- <img v-lazy="image" /> -->
</van-swipe-item>
</van-swipe>
</demo-block>