From 20599c859e3b6d803a8de1d0bc54c75e108c1b85 Mon Sep 17 00:00:00 2001 From: sakuya <81883387@qq.com> Date: Sat, 29 May 2021 18:42:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E5=99=A8=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E5=8F=82=E6=95=B0=20=E9=BB=98=E8=AE=A4300?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/scEditor/index.vue | 6 +++++- src/views/vab/editor.vue | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/scEditor/index.vue b/src/components/scEditor/index.vue index a5d87792..59db9eb6 100644 --- a/src/components/scEditor/index.vue +++ b/src/components/scEditor/index.vue @@ -31,6 +31,10 @@ type: String, default: "" }, + height: { + type: Number, + default: 300, + }, disabled: { type: Boolean, default: false @@ -57,7 +61,7 @@ plugins: this.plugins, toolbar: this.toolbar, fontsize_formats: '12px 14px 16px 18px 20px 22px 24px 28px 32px 36px 48px 56px 72px', - height: 500, + height: this.height, placeholder: this.placeholder, branding: false, resize: true, diff --git a/src/views/vab/editor.vue b/src/views/vab/editor.vue index bbde52a3..a9f40054 100644 --- a/src/views/vab/editor.vue +++ b/src/views/vab/editor.vue @@ -1,7 +1,7 @@