[bugfix] Swipe: fix blank area when use width prop (#3751)

This commit is contained in:
neverland
2019-07-04 16:26:58 +08:00
committed by GitHub
parent 64bb96aeb0
commit 6d67f4572c
5 changed files with 78 additions and 34 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ export default {
### Set Swiper Item Size
```html
<van-swipe :autoplay="3000" :width="300">
<van-swipe :loop="false" :width="300">
<van-swipe-item>1</van-swipe-item>
<van-swipe-item>2</van-swipe-item>
<van-swipe-item>3</van-swipe-item>