...
|
...
|
@@ -20,7 +20,7 @@ setTimeout(function() { |
|
|
}, 3000);
|
|
|
|
|
|
page = {
|
|
|
smsCode: window.queryString.smsCode,
|
|
|
registerCode: window.queryString.registerCode,
|
|
|
init: function() {
|
|
|
this.domInit();
|
|
|
this.bindEvent();
|
...
|
...
|
@@ -40,7 +40,7 @@ page = { |
|
|
});
|
|
|
|
|
|
$nextBtn.on('click', function() {
|
|
|
if (!self.smsCode) {
|
|
|
if (!self.registerCode) {
|
|
|
return tip.show('非法请求');
|
|
|
}
|
|
|
self.setPasswordAndLogin();
|
...
|
...
|
@@ -82,7 +82,7 @@ page = { |
|
|
$nextBtn.prop('disabled', true);
|
|
|
$.post('/passport/sms_login/password.json', {
|
|
|
password: password,
|
|
|
smsCode: self.smsCode
|
|
|
registerCode: self.registerCode
|
|
|
})
|
|
|
.done(function(res) {
|
|
|
if (res.code === 200) {
|
...
|
...
|
|