Revert "feat: add mobile comment editor"

This reverts commit 75a100c8c2.
This commit is contained in:
Tim
2025-07-21 17:41:42 +08:00
parent 69c93733f0
commit 50a6db2da1
3 changed files with 5 additions and 98 deletions

View File

@@ -63,9 +63,7 @@
</div>
</div>
<CommentEditor v-if="!isMobile" @submit="postComment" :loading="isWaitingPostingComment" :disabled="!loggedIn"
:show-login-overlay="!loggedIn" />
<SimpleCommentEditor v-else @submit="postComment" :loading="isWaitingPostingComment" :disabled="!loggedIn"
<CommentEditor @submit="postComment" :loading="isWaitingPostingComment" :disabled="!loggedIn"
:show-login-overlay="!loggedIn" />
<div class="comments-container">
@@ -110,7 +108,6 @@ import VueEasyLightbox from 'vue-easy-lightbox'
import { useRoute } from 'vue-router'
import CommentItem from '../components/CommentItem.vue'
import CommentEditor from '../components/CommentEditor.vue'
import SimpleCommentEditor from '../components/SimpleCommentEditor.vue'
import BaseTimeline from '../components/BaseTimeline.vue'
import ArticleTags from '../components/ArticleTags.vue'
import ArticleCategory from '../components/ArticleCategory.vue'
@@ -127,7 +124,7 @@ hatch.register()
export default {
name: 'PostPageView',
components: { CommentItem, CommentEditor, SimpleCommentEditor, BaseTimeline, ArticleTags, ArticleCategory, ReactionsGroup, DropdownMenu, VueEasyLightbox },
components: { CommentItem, CommentEditor, BaseTimeline, ArticleTags, ArticleCategory, ReactionsGroup, DropdownMenu, VueEasyLightbox },
setup() {
const route = useRoute()
const postId = route.params.id