yuzhilin

isFirstIn注释

@@ -94,7 +94,7 @@ export struct PageComponent { @@ -94,7 +94,7 @@ export struct PageComponent {
94 (compDTO: CompDTO, compIndex: number) => compDTO.id + compIndex.toString() + this.pageModel.timestamp 94 (compDTO: CompDTO, compIndex: number) => compDTO.id + compIndex.toString() + this.pageModel.timestamp
95 ) 95 )
96 } 96 }
97 - 97 +
98 if (this.name !== '视频') { 98 if (this.name !== '视频') {
99 // 加载更多 99 // 加载更多
100 ListItem() { 100 ListItem() {
@@ -141,7 +141,8 @@ export struct PageComponent { @@ -141,7 +141,8 @@ export struct PageComponent {
141 141
142 onChange() { 142 onChange() {
143 Logger.info(TAG, `onChangezz id: ${this.pageId} , ${this.channelId} , ${this.navIndex} , ${this.isFirstIn} , navIndex: ${this.currentTopNavSelectedIndex}`); 143 Logger.info(TAG, `onChangezz id: ${this.pageId} , ${this.channelId} , ${this.navIndex} , ${this.isFirstIn} , navIndex: ${this.currentTopNavSelectedIndex}`);
144 - if (this.navIndex === this.currentTopNavSelectedIndex && !this.isFirstIn) { 144 + // if (this.navIndex === this.currentTopNavSelectedIndex && !this.isFirstIn) {
  145 + if (this.navIndex === this.currentTopNavSelectedIndex) {
145 this.getData(); 146 this.getData();
146 } 147 }
147 } 148 }