yuzhilin

人民号顶导切换

... ... @@ -198,7 +198,7 @@ export struct TopNavigationComponent {
.vertical(false)
.onChange((index: number) => {
Logger.info(TAG, `onChange index : ${index}`);
if (!this.isBroadcast(this.myChannelList[index])) {
if (!this.isBroadcast(this._currentNavIndex === 0 ? this.myChannelList[index] : this.topNavList[index])) {
this.currentTopNavSelectedIndex = index;
} else {
// 跳转到播报页面
... ...