将博客评论组件加入到博客内容中

This commit is contained in:
2024-08-31 14:57:30 +08:00
parent 0bdfbbe001
commit bf9ee5c81c

View File

@@ -8,6 +8,7 @@ import { markedHighlight } from "marked-highlight";
import hljs from 'highlight.js';
import "highlight.js/styles/xcode.css";
import BlogContentToolBar from '@/components/Blog/BlogContentToolBar.vue';
import BlogComment from '@/components/Blog/BlogComment.vue';
const loadStatus = ref(0);// 0加载中 -1加载失败 -2文章不存在或不可见 1加载成功
const route = useRoute();
@@ -64,6 +65,8 @@ onMounted(async () => {
</div>
<div v-html="blogContent" id="blogContentContainer"></div>
</div>
<BlogComment />
</div>
<BlogContentToolBar />
</template>