mirror of
https://dl.bcrjl.com/ghg/HaoOuBa/Joe.git
synced 2026-02-17 13:10:05 +08:00
更新
This commit is contained in:
3
assets/js/joe.census.js
Normal file
3
assets/js/joe.census.js
Normal file
@@ -0,0 +1,3 @@
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
console.log(1);
|
||||
})
|
||||
1
assets/js/joe.census.min.js
vendored
Normal file
1
assets/js/joe.census.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
document.addEventListener("DOMContentLoaded",()=>{console.log(1)});
|
||||
@@ -332,8 +332,8 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
if (author.trim() === '') return Qmsg.info('请输入昵称!');
|
||||
if (!/\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/.test(mail)) return Qmsg.info('请输入正确的邮箱!');
|
||||
/* -- 验证码前端校验 -- */
|
||||
const sum = $(".joe_comment__respond-form .head input[name='sum']").val();
|
||||
if (sum.trim() === '') return Qmsg.info('请输入计算结果!');
|
||||
const captcha = $(".joe_comment__respond-form .head input[name='captcha']").val();
|
||||
if (captcha.trim() === '') return Qmsg.info('请输入验证码!');
|
||||
/* -- 验证码前端校验 -- */
|
||||
if (type === 'text' && text.trim() === '') return Qmsg.info('请输入评论内容!');
|
||||
if (type === 'draw') {
|
||||
@@ -346,7 +346,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
$.ajax({
|
||||
url,
|
||||
type: 'POST',
|
||||
data: { author, mail, text, parent, sum },
|
||||
data: { author, mail, text, parent, captcha },
|
||||
dataType: 'text',
|
||||
success(res) {
|
||||
let arr = [],
|
||||
|
||||
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