diff --git a/src/components/Blog_box.vue b/src/components/Blog_box.vue
index 151b5c9..62390e5 100644
--- a/src/components/Blog_box.vue
+++ b/src/components/Blog_box.vue
@@ -2,6 +2,7 @@
import {setRandomBGCL} from "../utils/randomBGCL.js";
import {blogImage} from "../utils/imageResource.js";
import DefaultCover from "./DefaultCover.vue";
+import {formatGMTToLocal} from "../utils/formatTime.js";
defineProps({
blog: Object,
@@ -15,9 +16,9 @@ defineProps({
{{ blog.post_date }}
+{{ formatGMTToLocal(blog.post_date, 3) }}
diff --git a/src/components/Blog_comment.vue b/src/components/Blog_comment.vue index 8722893..f33e52d 100644 --- a/src/components/Blog_comment.vue +++ b/src/components/Blog_comment.vue @@ -7,6 +7,7 @@不允许评论