Authored by zhangxiaoru

注册如果密码有值立刻校验

... ... @@ -35,7 +35,8 @@ $pwd.bind('input', function() {
});
$btnSure.toggleClass('disable', !bool);
});
})
qs = window.queryString;
... ... @@ -131,3 +132,9 @@ $btnSure.on('touchstart', function() {
$('.agreement-detail').on('click', function() {
$(this).attr('href', '//m.yohobuy.com/passport/agreement' + window.location.search);
});
// 如果有值, 立刻校验
if ($pwd.val()) {
$pwd.triggerHandler('input');
}
\ No newline at end of file
... ...