修改回复自己用户名

feature/comment-0620-ch
ch 2 years ago
parent 588a41d196
commit 3d61ca3c1e

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-06-21 18:19:13 * @Date: 2022-06-21 18:19:13
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-29 20:37:02 * @LastEditTime: 2022-06-29 21:29:35
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -118,7 +118,7 @@ export default {
this.detail.answerCommentList.push({ this.detail.answerCommentList.push({
...result, ...result,
userName : this.$store.state.userInfo.nickname, userName : this.$store.state.userInfo.nickname,
parentName: this.answer ? this.answer.userName : '' parentUserName: this.answer ? this.answer.userName : ''
}); });
this.commentContent = ''; this.commentContent = '';
this.detail.replyCount++; this.detail.replyCount++;

Loading…
Cancel
Save