mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
@@ -560,4 +560,18 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
$('.joe_motto').html(motto);
|
||||
}
|
||||
}
|
||||
|
||||
/* 登录 */
|
||||
{
|
||||
$(".joe_header__below-sign button[type='button']").on('click', function (e) {
|
||||
if ($(".joe_header__below-sign input[name='name']").val().trim() === '') {
|
||||
return Qmsg.warning('请输入用户名!');
|
||||
}
|
||||
if ($(".joe_header__below-sign input[name='password']").val().trim() === '') {
|
||||
return Qmsg.warning('请输入密码!');
|
||||
}
|
||||
$(this).html('登录中...').attr('disabled', true);
|
||||
$('.joe_header__below-sign form').submit();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
2
assets/js/joe.global.min.js
vendored
2
assets/js/joe.global.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user