fix(parser): 完善内容解析

This commit is contained in:
BTMuli
2023-04-01 15:32:39 +08:00
parent e2aee5185d
commit 3cc71a8921
4 changed files with 139 additions and 31 deletions

View File

@@ -33,7 +33,7 @@ onMounted(async () => {
try {
const postData = await MysOper.Post.get(post_id);
loadingTitle.value = "正在渲染数据...";
postHtml.value = MysOper.Post.parser(postData.post.structured_content);
postHtml.value = MysOper.Post.parser(postData);
} catch (error) {
loadingEmpty.value = true;
loadingTitle.value = "帖子不存在或解析失败";