This commit is contained in:
杜恒
2021-03-02 19:50:46 +08:00
parent a5170bd15c
commit a46bbde7a9
2 changed files with 2 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ document.addEventListener('DOMContentLoaded', () => {
let isSubmit = false;
$('.joe_detail__article-protected').on('submit', function (e) {
e.preventDefault();
const url = $(this).attr('action') + '?time=' + +new Date();
const url = $(this).attr('action') + '&time=' + +new Date();
const protectPassword = $(this).find('input[type="password"]').val();
if (protectPassword.trim() === '') return Qmsg.info('请输入访问密码!');
if (isSubmit) return;