Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix: (#277) 修复资讯评论无法弹出交互组件的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Jun 28, 2018
1 parent 72c1bb7 commit 7fe8514
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/page/news/newsDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,17 @@
<li>{{ commentCount | formatNum }}条评论</li>
</ul>
<comment-item
v-if="news.audit_status===0"
v-for="(comment) in pinnedCom"
:pinned="true"
v-if="news.audit_status===0"
:key="`pinned-${comment.id}`"
:comment="comment"/>
:comment="comment"
:pinned="true" />
<comment-item
v-if="news.audit_status===0"
@click="replyComment"
v-for="(comment) in comments"
v-if="news.audit_status===0"
:key="`comment-${comment.id}`"
:comment="comment"/>
:comment="comment"
@click="replyComment" />

<div v-if="news.audit_status===0" class="m-box m-aln-center m-justify-center load-more-box">
<span v-if="noMoreCom" class="load-more-ph">---没有更多---</span>
Expand Down

0 comments on commit 7fe8514

Please sign in to comment.