This commit is contained in:
zhaofang
2022-11-25 14:22:11 +08:00
parent f9c241efe5
commit d08d8da4c6

View File

@@ -478,12 +478,11 @@
},
//回复的事件
openInput(commIdx,replyIdx){
this.curCommentIndex=commIdx;
let comm=this.list[commIdx];
this.replyInfo.commentId=comm.id;
if(replyIdx){
if(replyIdx !== undefined){
this.curReplyIndex=replyIdx;
let re=comm.replyList[replyIdx];
this.replyInfo.parentId=re.id;