回复添加到第一条

feature/comment-0624-ch
ch 2 years ago
parent 9ec022fc0f
commit e17951e223

@ -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-30 14:24:42 * @LastEditTime: 2022-06-30 14:27:38
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -199,7 +199,7 @@ 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,
parentUserName: this.answer ? this.answer.userName : '' parentUserName: this.answer ? this.answer.userName : ''

Loading…
Cancel
Save