diff --git a/components.d.ts b/components.d.ts index 140e0e2..0590af2 100644 --- a/components.d.ts +++ b/components.d.ts @@ -34,6 +34,7 @@ declare module 'vue' { ARadio: typeof import('ant-design-vue/es')['Radio'] ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] ASkeleton: typeof import('ant-design-vue/es')['Skeleton'] + ASpace: typeof import('ant-design-vue/es')['Space'] ASpin: typeof import('ant-design-vue/es')['Spin'] AStep: typeof import('ant-design-vue/es')['Step'] ASteps: typeof import('ant-design-vue/es')['Steps'] diff --git a/src/components/CommentReply/src/CommentInput/CommentInput.vue b/src/components/CommentReply/src/CommentInput/CommentInput.vue index 87f54e7..13a2696 100644 --- a/src/components/CommentReply/src/CommentInput/CommentInput.vue +++ b/src/components/CommentReply/src/CommentInput/CommentInput.vue @@ -182,7 +182,7 @@ async function commentSubmit(point: any) { showSubmitCaptcha.value = false; await getCommentList(); } else { - showSubmitCaptcha.value = false; + await comment.getSlideCaptchaData(); message.error(result.message || t('comment.commentError')); } } diff --git a/src/components/CommentReply/src/CommentList/CommentList.vue b/src/components/CommentReply/src/CommentList/CommentList.vue index e04d090..085be44 100644 --- a/src/components/CommentReply/src/CommentList/CommentList.vue +++ b/src/components/CommentReply/src/CommentList/CommentList.vue @@ -100,7 +100,7 @@ @@ -164,7 +161,6 @@ const user = useStore().user; const topicId = ref("123"); -const showMessageReport = ref(false); /** * 获取评论列表 diff --git a/src/components/CommentReply/src/MessageReport/MessageReport.vue b/src/components/CommentReply/src/MessageReport/MessageReport.vue index 2261f0e..1bcbdf9 100644 --- a/src/components/CommentReply/src/MessageReport/MessageReport.vue +++ b/src/components/CommentReply/src/MessageReport/MessageReport.vue @@ -1,101 +1,86 @@