|
@@ -82,7 +82,7 @@ export class homepage extends Component {
|
|
|
ClientEvent.on(config.EVENT_MSG.ON_SHOW_REWARD_VIEW,this.onShowRewardView.bind(this),this);
|
|
|
ClientEvent.on(config.EVENT_MSG.ON_USER_LOGIN_SUCCESS,this.onUserLoginSuccess.bind(this),this);
|
|
|
}
|
|
|
- onUserLoginSuccess() {
|
|
|
+ onUserLoginSuccess() {
|
|
|
if(SdkUtil.ttCheckSceneShowRewards()&&gameManager.get_user_is_sign()==false) {
|
|
|
this.reward_box.active = true
|
|
|
this.reward_box.getComponent(reward_box).playShake()
|