更新
This commit is contained in:
parent
a5170bd15c
commit
a46bbde7a9
@ -154,7 +154,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
let isSubmit = false;
|
let isSubmit = false;
|
||||||
$('.joe_detail__article-protected').on('submit', function (e) {
|
$('.joe_detail__article-protected').on('submit', function (e) {
|
||||||
e.preventDefault();
|
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();
|
const protectPassword = $(this).find('input[type="password"]').val();
|
||||||
if (protectPassword.trim() === '') return Qmsg.info('请输入访问密码!');
|
if (protectPassword.trim() === '') return Qmsg.info('请输入访问密码!');
|
||||||
if (isSubmit) return;
|
if (isSubmit) return;
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<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() ?>
|
<?php $this->options->JCustomScript() ?>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user