|
@@ -52,6 +52,14 @@ export class home extends Component {
|
|
|
this.top.getComponent(home_top).init()
|
|
|
this.home_car.getComponent(home_car).updateCar()
|
|
|
this.bottom.getComponent(home_bottom).init()
|
|
|
+ this.everyTenMinutesUpdate()
|
|
|
+ }
|
|
|
+
|
|
|
+ private everyTenMinutesUpdate() {
|
|
|
+ this.unscheduleAllCallbacks()
|
|
|
+ this.schedule(()=>{
|
|
|
+ this.bottom.getComponent(home_bottom).reloadCountryRankData()
|
|
|
+ },600)
|
|
|
}
|
|
|
}
|
|
|
|