Commit 533368ee76e496de870873dbfc460f6c89420e80
1 parent
94ce65ae
put 和 live_status
Showing
1 changed file
with
9 additions
and
3 deletions
packageA/pages/liveStream/liveStream.js
| ... | ... | @@ -176,9 +176,15 @@ Page({ |
| 176 | 176 | // this.updateLiveList().then(() => { |
| 177 | 177 | // self.loadLiveList(1); |
| 178 | 178 | // }); |
| 179 | - this.getData(101); | |
| 180 | - this.getData(102); | |
| 181 | - this.getData(103); | |
| 179 | + var self = this; | |
| 180 | + this.updateLiveList().then(() => { | |
| 181 | + self.getData(101); | |
| 182 | + self.getData(102); | |
| 183 | + self.getData(103); | |
| 184 | + }); | |
| 185 | + // this.getData(101); | |
| 186 | + // this.getData(102); | |
| 187 | + // this.getData(103); | |
| 182 | 188 | }, |
| 183 | 189 | |
| 184 | 190 | /** | ... | ... |