Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -198,7 +198,7 @@ export struct TopNavigationComponent { | @@ -198,7 +198,7 @@ export struct TopNavigationComponent { | ||
| 198 | .vertical(false) | 198 | .vertical(false) |
| 199 | .onChange((index: number) => { | 199 | .onChange((index: number) => { |
| 200 | Logger.info(TAG, `onChange index : ${index}`); | 200 | Logger.info(TAG, `onChange index : ${index}`); |
| 201 | - if (!this.isBroadcast(this.myChannelList[index])) { | 201 | + if (!this.isBroadcast(this._currentNavIndex === 0 ? this.myChannelList[index] : this.topNavList[index])) { |
| 202 | this.currentTopNavSelectedIndex = index; | 202 | this.currentTopNavSelectedIndex = index; |
| 203 | } else { | 203 | } else { |
| 204 | // 跳转到播报页面 | 204 | // 跳转到播报页面 |
-
Please register or login to post a comment