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;

View File

@ -32,7 +32,7 @@
</div>
<script>
console.log("PHP输出页面时长: <?php _endCountTime(); ?>")
console.log("%c页面加载耗时<?php _endCountTime(); ?> | Theme By Joe", "color:#fff; background: linear-gradient(270deg, #986fee, #8695e6, #68b7dd, #18d7d3); padding: 8px 15px; border-radius: 0 15px 0 15px")
<?php $this->options->JCustomScript() ?>
</script>