Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -321,8 +321,8 @@ export struct MultiPictureDetailPageComponent { | @@ -321,8 +321,8 @@ export struct MultiPictureDetailPageComponent { | ||
| 321 | middle: { anchor: "__container__", align: HorizontalAlign.Center } | 321 | middle: { anchor: "__container__", align: HorizontalAlign.Center } |
| 322 | }) | 322 | }) |
| 323 | .zIndex(1) | 323 | .zIndex(1) |
| 324 | - .onChange((index: number) => { | ||
| 325 | - this.swiperIndex = index | 324 | + .onAnimationStart((index: number, targetIndex: number, extraInfo: SwiperAnimationEvent) => { |
| 325 | + this.swiperIndex = targetIndex | ||
| 326 | }) | 326 | }) |
| 327 | .onClick(() => { | 327 | .onClick(() => { |
| 328 | this.showDownload = !this.showDownload | 328 | this.showDownload = !this.showDownload |
-
Please register or login to post a comment