fix(ImagePreview): missing swipeDuration type definition (#4968)

This commit is contained in:
neverland
2019-11-09 15:57:26 +08:00
committed by GitHub
parent b055980fe0
commit f4f88c5254
4 changed files with 6 additions and 5 deletions

View File

@@ -272,8 +272,8 @@ export default createComponent({
ref="swipe"
loop={this.loop}
class={bem('swipe')}
duration={this.swipeDuration}
indicatorColor="white"
duration={this.swipeDuration}
initialSwipe={this.startPosition}
showIndicators={this.showIndicators}
onChange={this.setActive}