修改 两条评论 显示更多按钮问题
This commit is contained in:
9
app.vue
9
app.vue
@@ -371,7 +371,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="child-comments" v-if="it['child'].length != 0">
|
||||
<div class="comments-item" v-for="(ite, i) in it['child']" :key="i">
|
||||
<div class="comments-item" v-for="(ite, i) in it['child']" :key="ite.id">
|
||||
<div class="comments-header flexacenter">
|
||||
<div class="comments-header-left flexacenter">
|
||||
<img class="comments-avatar" @click="openUserInfo(index, ind, i)" :src="ite['avatar']" />
|
||||
@@ -434,7 +434,7 @@
|
||||
</div> -->
|
||||
|
||||
<!-- <div class="more-comments flexcenter" @click="showComments(index)"> -->
|
||||
<div class="more-comments flexcenter" @click="handleAllComment(index)" v-if="item['showOneCommentState'] && item.commentnum > 1">
|
||||
<div class="more-comments flexcenter" @click="handleAllComment(index)" v-if="item['showOneCommentState'] && item.commentnum > 2">
|
||||
更多讨论
|
||||
<img class="more-comments-icon" src="@/img/arrow-circular-gray.png" />
|
||||
</div>
|
||||
@@ -771,7 +771,7 @@ export default {
|
||||
emulateJSON: true,
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
authorization: process.env.NODE_ENV !== "production" && "c7a0c3337a091b978f3d7215f633ff3c", // 头部标记 ada
|
||||
authorization: process.env.NODE_ENV !== "production" && "223fe8a4ea0ede029244b3b01f0bdaad", // 头部标记 ada
|
||||
// "7a89997c2ccd8cb5ed8cb20d843dafdd", // 头部标记 ada
|
||||
},
|
||||
})
|
||||
@@ -806,7 +806,7 @@ export default {
|
||||
emulateJSON: true,
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
authorization: process.env.NODE_ENV !== "production" && "d2ae0336590db2fc49ff003b77552ec2", // 头部标记
|
||||
authorization: process.env.NODE_ENV !== "production" && "223fe8a4ea0ede029244b3b01f0bdaad", // 头部标记
|
||||
// "7a89997c2ccd8cb5ed8cb20d843dafdd", // 头部标记
|
||||
},
|
||||
})
|
||||
@@ -1663,6 +1663,7 @@ export default {
|
||||
|
||||
targetAnswerList[index]["commentList"][ind]["child"] = merged1
|
||||
answerList.value = targetAnswerList
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user