|
@@ -28,12 +28,12 @@ class LoginScene extends scene {
|
|
|
if (res.success) {
|
|
|
userDataStorage.setData(res.data);
|
|
|
if ( -1 != this.moye.focusList.indexOf('WaterfallIndexScene')){
|
|
|
- this.hideScene({success: true}, 'WaterfallIndexScene');
|
|
|
+ this.hideScene({showQR: true}, 'WaterfallIndexScene');
|
|
|
} else {
|
|
|
- this.showScene(require('./WaterfallIndexScene.js'), {});
|
|
|
+ this.showScene(require('./WaterfallIndexScene.js'), {});
|
|
|
}
|
|
|
} else if (Consts.API_CODE_ISBOUND == res.code) {
|
|
|
- this.showScene(require('./RepeatLoginScene.js'), {});
|
|
|
+ this.showScene(require('./RepeatLoginScene.js'), {showQR: true});
|
|
|
} else {
|
|
|
TVUtil.Toast.show('帐号或密码错误!', 3000);
|
|
|
this.sidInput.value = '|';
|