From e3fc4f04c4379549b1944d552f2d25121deadbbd Mon Sep 17 00:00:00 2001 From: Guarp Date: Sat, 15 Mar 2025 09:02:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=9A=E5=AE=A2=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/blogPages/SingleBlog_page.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/blogPages/SingleBlog_page.vue b/src/pages/blogPages/SingleBlog_page.vue index e8e6f95..47c038d 100644 --- a/src/pages/blogPages/SingleBlog_page.vue +++ b/src/pages/blogPages/SingleBlog_page.vue @@ -11,7 +11,7 @@ import Blog_rootComment from "../../components/Blog_comment.vue"; import {getInfoWithPages} from "../../utils/getInfoWithPages.js"; import Blog_commentDisplay from "../../components/Blog_commentDisplay.vue"; import Profile_display from "../../components/Profile_display.vue"; -import {getCurrentISODateTime} from "../../utils/formatTime.js"; +import {formatGMTToLocal, getCurrentISODateTime} from "../../utils/formatTime.js"; // 获取路由参数 const route = useRoute() @@ -37,6 +37,7 @@ const commentInputFocus = ref(false); const commentButtonFocus = ref(false); const commentSubmitLoading = ref(false); + const checkWindowSize = () => { windowWidth.value = window.innerWidth; }; @@ -172,7 +173,7 @@ const submitComment = async () => {
{{ posterInfo?.username || '' }} - {{ blog.post_date }} + 最后更新: {{ formatGMTToLocal(blog.edit_date, 3) }}