|
@@ -51,11 +51,14 @@ export class home extends Component {
|
|
|
userDataManager.user_car_list.car_list = res.unlock_car_list
|
|
|
// 更新首页车
|
|
|
this.home_car.getComponent(home_car).updateCar()
|
|
|
+ // 检查我在排行中,更换车数据
|
|
|
+ this.bottom.getComponent(home_bottom).checkIsMineCountryRank()
|
|
|
}
|
|
|
|
|
|
onUpdateUserDefaultCar() {
|
|
|
+ // 更新首页车
|
|
|
this.home_car.getComponent(home_car).updateCar()
|
|
|
- // 刷新排行
|
|
|
+ // 检查我在排行中,更换车数据
|
|
|
this.bottom.getComponent(home_bottom).checkIsMineCountryRank()
|
|
|
}
|
|
|
|