Skip to content

Commit

Permalink
fix 修复论坛编辑器会消失的问题!
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchuana committed Jun 25, 2024
1 parent 23e0d67 commit 27f11a2
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/post/community.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,7 @@
<!-- 正文 -->
<div class="m-publish-content">
<el-divider content-position="left">正文</el-divider>
<Tinymce
v-model="post.content"
:attachmentEnable="true"
:resourceEnable="true"
v-show="!post.post_mode || post.post_mode == 'tinymce'"
/>
<Tinymce v-model="post.content" :attachmentEnable="true" :resourceEnable="true" v-show="'tinymce'" />
</div>

<!-- 附加 -->
Expand Down Expand Up @@ -341,7 +336,7 @@ export default {
},
getTopicBucket() {
getTopicBucket({ type: "community" }).then((res) => {
const data = res.data.data
const data = res.data.data;
this.tags = [...data];
});
},
Expand Down

0 comments on commit 27f11a2

Please sign in to comment.