[bugfix] Swipe: fix blank area when use width prop (#3751)
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user