From c1e27e93f35809fa0206988c757f6dc5c5662876 Mon Sep 17 00:00:00 2001 From: hupeng Date: Tue, 27 Oct 2020 16:44:15 +0800 Subject: [PATCH] =?UTF-8?q?wangeditor=E5=85=BC=E5=AE=B9=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/components/Editor.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/components/Editor.vue b/src/views/components/Editor.vue index 1426c9b..a9f9d6b 100644 --- a/src/views/components/Editor.vue +++ b/src/views/components/Editor.vue @@ -41,9 +41,8 @@ export default { } }, mounted() { - // console.log(222) - console.log(this.value) this.editor = new E(this.$refs.editor) + this.editor.customConfig = this.editor.customConfig ? this.editor.customConfig : this.editor.config this.editor.customConfig.uploadImgShowBase64 = true // 使用 base64 保存图片 // 不可修改 this.editor.customConfig.uploadImgHeaders = this.headers