From f990d81ca29900b142e9020f8bc7d1806ac7688d Mon Sep 17 00:00:00 2001 From: tone <3341154833@qq.com> Date: Sat, 12 Oct 2024 11:43:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E6=B7=B1=E8=89=B2=E6=A8=A1=E5=BC=8F=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tonecn/src/components/Blog/BlogComment.vue | 57 ++++--------------- .../components/Blog/BlogContentToolBar.vue | 43 ++------------ tonecn/src/views/Blog.vue | 2 +- tonecn/src/views/BlogContent.vue | 48 ++++++---------- tonecn/src/views/Download.vue | 28 +++++---- tonecn/src/views/Resource.vue | 28 +++++---- 6 files changed, 72 insertions(+), 134 deletions(-) diff --git a/tonecn/src/components/Blog/BlogComment.vue b/tonecn/src/components/Blog/BlogComment.vue index c771eae..43d3b13 100644 --- a/tonecn/src/components/Blog/BlogComment.vue +++ b/tonecn/src/components/Blog/BlogComment.vue @@ -25,7 +25,7 @@ const getStatusText = computed(() => { const loadComment = async () => { try { - let commentRes:BaseResponseData = await request.get(`/blogComment?bloguuid=${bloguuid}`); + let commentRes: BaseResponseData = await request.get(`/blogComment?bloguuid=${bloguuid}`); if (commentRes.code == 0) { blogCommentList.splice(0, blogCommentList.length); blogCommentList.push(...commentRes.data); @@ -47,49 +47,16 @@ watch(model, (newValue, oldValue) => { - \ No newline at end of file + \ No newline at end of file diff --git a/tonecn/src/components/Blog/BlogContentToolBar.vue b/tonecn/src/components/Blog/BlogContentToolBar.vue index 70de3ee..ee0abea 100644 --- a/tonecn/src/components/Blog/BlogContentToolBar.vue +++ b/tonecn/src/components/Blog/BlogContentToolBar.vue @@ -86,12 +86,12 @@ const submitComment = async () => { - \ No newline at end of file diff --git a/tonecn/src/views/Blog.vue b/tonecn/src/views/Blog.vue index 5da80cb..1d45f96 100644 --- a/tonecn/src/views/Blog.vue +++ b/tonecn/src/views/Blog.vue @@ -29,7 +29,7 @@ onMounted(async () => {
加载中,请稍后...
- {{ item.title }} + {{ item.title }}
{{ item.description }}
{{ timestampToString(+item.publish_time) }} —— {{ formateTimes(item.visit_count) }} 次访问
diff --git a/tonecn/src/views/BlogContent.vue b/tonecn/src/views/BlogContent.vue index 484d955..abc49af 100644 --- a/tonecn/src/views/BlogContent.vue +++ b/tonecn/src/views/BlogContent.vue @@ -72,13 +72,13 @@ onUnmounted(() => { })