Commit ec460ee0 authored by 罗林杰's avatar 罗林杰

修改bug

parent 5395d704
...@@ -161,6 +161,7 @@ export default{ ...@@ -161,6 +161,7 @@ export default{
} else { } else {
//点击的第二层评论 //点击的第二层评论
this.parentId = value.parentId this.parentId = value.parentId
this.commentId = value.businessId
} }
}, },
// 点赞 // 点赞
...@@ -255,7 +256,8 @@ export default{ ...@@ -255,7 +256,8 @@ export default{
const params = { const params = {
articleId: this.articleInfo.businessId,//动态id articleId: this.articleInfo.businessId,//动态id
commentContent:value,//评论内容 commentContent:value,//评论内容
parentId:this.parentId//上级评论ID parentId:this.parentId,//上级评论ID
commentId: this.commentId
} }
comment(params).then(res=>{ comment(params).then(res=>{
if (res.data.code == 200){ if (res.data.code == 200){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment