Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -30,7 +30,6 @@ export struct VideoChannelPage { | @@ -30,7 +30,6 @@ export struct VideoChannelPage { | ||
| 30 | @State indicatorWidth: number = 0 | 30 | @State indicatorWidth: number = 0 |
| 31 | // 传递给page的自动刷新通知 | 31 | // 传递给page的自动刷新通知 |
| 32 | @State autoRefresh2Page: number = 0 | 32 | @State autoRefresh2Page: number = 0 |
| 33 | - | ||
| 34 | aboutToAppear(): void { | 33 | aboutToAppear(): void { |
| 35 | this.setBarBackgroundColor() | 34 | this.setBarBackgroundColor() |
| 36 | console.log(TAG, 'aboutToAppear') | 35 | console.log(TAG, 'aboutToAppear') |
| @@ -174,6 +173,7 @@ export struct VideoChannelPage { | @@ -174,6 +173,7 @@ export struct VideoChannelPage { | ||
| 174 | .width('100%') | 173 | .width('100%') |
| 175 | .height('100%') | 174 | .height('100%') |
| 176 | .cachedCount(-1) | 175 | .cachedCount(-1) |
| 176 | + .disableSwipe(this.displayDirection === DisplayDirection.VERTICAL ? false : true) | ||
| 177 | .displayCount(1, true) | 177 | .displayCount(1, true) |
| 178 | .alignSelf(ItemAlign.Start) | 178 | .alignSelf(ItemAlign.Start) |
| 179 | .effectMode(EdgeEffect.None) | 179 | .effectMode(EdgeEffect.None) |
-
Please register or login to post a comment