mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 09:56:45 +08:00
提交
This commit is contained in:
@@ -478,12 +478,11 @@
|
|||||||
},
|
},
|
||||||
//回复的事件
|
//回复的事件
|
||||||
openInput(commIdx,replyIdx){
|
openInput(commIdx,replyIdx){
|
||||||
|
|
||||||
this.curCommentIndex=commIdx;
|
this.curCommentIndex=commIdx;
|
||||||
let comm=this.list[commIdx];
|
let comm=this.list[commIdx];
|
||||||
this.replyInfo.commentId=comm.id;
|
this.replyInfo.commentId=comm.id;
|
||||||
|
|
||||||
if(replyIdx){
|
if(replyIdx !== undefined){
|
||||||
this.curReplyIndex=replyIdx;
|
this.curReplyIndex=replyIdx;
|
||||||
let re=comm.replyList[replyIdx];
|
let re=comm.replyList[replyIdx];
|
||||||
this.replyInfo.parentId=re.id;
|
this.replyInfo.parentId=re.id;
|
||||||
|
|||||||
Reference in New Issue
Block a user