feat(ImagePreview): enable swipe lazy-render (#5879)

This commit is contained in:
chenjiahan
2020-03-22 15:53:15 +08:00
parent 365f2b16f7
commit 7ac85868dc
4 changed files with 16 additions and 97 deletions

View File

@@ -319,6 +319,7 @@ export default createComponent({
return (
<Swipe
ref="swipe"
lazyRender
loop={this.loop}
class={bem('swipe')}
indicatorColor="white"