修复提交博客评论未进行人机验证检验的bug

This commit is contained in:
2024-08-31 14:50:13 +08:00
parent 8190f5f55c
commit 61c7ec8d2e
2 changed files with 5 additions and 4 deletions

View File

@@ -65,6 +65,7 @@ const submitComment = async () => {
ElMessage.info('正在提交,请稍后')
try {
let commentRes = await request.post('blogComment', {
session: localStorage.getItem('captcha-session'),
bloguuid: bloguuid,
content: inputComment.value.trim(),
name: inputCommentName.trim() == '' ? '匿名' : inputCommentName.trim()