feat:完善评论功能

This commit is contained in:
陈淳
2023-03-24 17:33:05 +08:00
parent af80d8e89b
commit fd3142bc19
7 changed files with 18 additions and 11 deletions

View File

@@ -261,12 +261,14 @@ const updateArticle = (node, data) => {
router.push(routerPer);
}
//单机节点
const handleNodeClick = (data) => {
const handleNodeClick = async(data) => {
//跳转路由
router.push(`/article/${route.params.discussId}/${data.id}`);
discuss.value.content = data.content;
const response=await articleGet(data.id);
discuss.value.content = response.data.content;
ContentHander();
}
//删除子文章