yuzhilin

fix

@@ -176,7 +176,7 @@ export struct TopNavigationComponent { @@ -176,7 +176,7 @@ export struct TopNavigationComponent {
176 } 176 }
177 177
178 //缓存首页频道 178 //缓存首页频道
179 - let index = this.myChannelList.findIndex(_item => _item.channelId === this.indexSettingChannelId) 179 + let index = this.myChannelList.findIndex(_item => _item?.channelId === this.indexSettingChannelId)
180 if (index > -1) { 180 if (index > -1) {
181 this.currentTopNavSelectedIndex = index 181 this.currentTopNavSelectedIndex = index
182 this.currentTopNavName = this.myChannelList[index].name 182 this.currentTopNavName = this.myChannelList[index].name