feat: 评论区支持高度调整

This commit is contained in:
Tim
2025-07-25 10:57:29 +08:00
parent f5447604d6
commit 0cf44c2a42
4 changed files with 9 additions and 5 deletions

View File

@@ -26,7 +26,6 @@ import {
getPreviewTheme as getPreviewThemeUtil
} from '../utils/vditor'
import LoginOverlay from './LoginOverlay.vue'
import { isMobile } from '../utils/screen'
export default {
name: 'CommentEditor',
@@ -74,7 +73,6 @@ export default {
onMounted(() => {
vditorInstance.value = createVditor(props.editorId, {
placeholder: '说点什么...',
height: isMobile.value ? 'auto' : 200,
preview: {
actions: [],
markdown: { toc: false }