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