From 5476cdcff17b4316ed010a157dade76f2d60390b Mon Sep 17 00:00:00 2001 From: Guarp Date: Sat, 15 Mar 2025 16:40:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8D=9A=E5=AE=A2=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=E5=9B=9E=E5=A4=8D=E6=8E=92=E5=BA=8F=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=9B=20=E6=B7=BB=E5=8A=A0=E6=8E=92=E5=BA=8F=E5=81=8F?= =?UTF-8?q?=E5=A5=BD=E5=82=A8=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Blog_commentDisplay.vue | 2 -- src/components/Blog_commentReplyDisplay.vue | 21 +++++++++++++++------ src/pages/blogPages/SingleBlog_page.vue | 5 +++-- src/store/index.js | 12 +++++++++++- 4 files changed, 29 insertions(+), 11 deletions(-) diff --git a/src/components/Blog_commentDisplay.vue b/src/components/Blog_commentDisplay.vue index 58f349c..b590c86 100644 --- a/src/components/Blog_commentDisplay.vue +++ b/src/components/Blog_commentDisplay.vue @@ -92,9 +92,7 @@ const fetchComments = async (pageNum, sortMode) => { // } try { - console.log('ss1',sortMode) sortMode = ['DESC', 'ASC'][sortMode]; - console.log(sortMode) const response = await getInfoWithPages(`/blogs/${props.blogId}/comments`, pageNum, pageSize, { sort: sortMode }) diff --git a/src/components/Blog_commentReplyDisplay.vue b/src/components/Blog_commentReplyDisplay.vue index 8e28095..76d9490 100644 --- a/src/components/Blog_commentReplyDisplay.vue +++ b/src/components/Blog_commentReplyDisplay.vue @@ -1,7 +1,6 @@