Skip to content

Commit

Permalink
perf: update comment visible
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Jan 3, 2024
1 parent b2d7804 commit f4716f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
},
"dependencies": {
"@jx3box/jx3box-bmap": "^0.1.13",
"@jx3box/jx3box-comment-ui": "^1.8.2",
"@jx3box/jx3box-comment-ui": "^1.8.5",
"@jx3box/jx3box-common": "^8.1.4",
"@jx3box/jx3box-common-ui": "^8.0.15",
"@jx3box/jx3box-common-ui": "^8.0.16",
"@jx3box/jx3box-data": "^3.5.6",
"@jx3box/jx3box-editor": "^2.1.0",
"@jx3box/jx3box-editor": "^2.1.1",
"axios": "^0.21.1",
"core-js": "^3.4.3",
"element-ui": "^2.15.6",
Expand Down
6 changes: 3 additions & 3 deletions src/components/cms-single.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@
<!-- 评论 -->
<div ref="commentView" class="m-single-comment">
<el-divider content-position="left">评论</el-divider>
<template v-if="showComment">
<!-- <template v-if="showComment"> -->
<Comment :id="id" category="post" v-if="id && allow_comment" />
<el-alert title="作者没有开启评论功能" type="warning" show-icon v-else></el-alert>
</template>
<el-alert title="作者开启了评论仅自己可见" type="warning" show-icon v-else></el-alert>
<!-- </template> -->
<!-- <el-alert title="作者开启了评论仅自己可见" type="warning" show-icon v-else></el-alert> -->
</div>
</div>

Expand Down

0 comments on commit f4716f8

Please sign in to comment.