yuzhilin

isFirstIn注释

@@ -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 }