Merge branch 'feature/comment-0624-ch' into msb_test

fix/comment-0701
ch 2 years ago
commit 7af76834f6

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-06-24 11:43:04 * @Date: 2022-06-24 11:43:04
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-29 20:46:35 * @LastEditTime: 2022-06-30 14:27:38
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -199,10 +199,10 @@ export default {
return false return false
} }
this.answerCommentList.push({ this.answerCommentList.unshift({
...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.answerContent = ''; this.answerContent = '';
this.replyCount++; this.replyCount++;

Loading…
Cancel
Save