diff --git a/package.json b/package.json index 117f8cb..6f99949 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "vue-splitpane": "1.0.4", "vuedraggable": "2.20.0", "vuex": "3.1.0", - "wangeditor": "^4.7.9", + "wangeditor": "^4.7.11", "xlsx": "^0.17.4" }, "devDependencies": { diff --git a/src/views/components/Editor.vue b/src/views/components/Editor.vue index 13a3481..69f841f 100644 --- a/src/views/components/Editor.vue +++ b/src/views/components/Editor.vue @@ -41,9 +41,9 @@ export default { const _this = this var editor = new E(this.$refs.editor) // 自定义菜单配置 - editor.customConfig.zIndex = 5 + editor.config.zIndex = 5 // 文件上传 - editor.customConfig.customUploadImg = function(files, insert) { + editor.config.customUploadImg = function(files, insert) { // files 是 input 中选中的文件列表 // insert 是获取图片 url 后,插入到编辑器的方法 files.forEach(image => { @@ -54,7 +54,7 @@ export default { }) }) } - editor.customConfig.onchange = (html) => { + editor.config.onchange = (html) => { this.editorContent = html } editor.create() diff --git a/src/views/tools/email/send.vue b/src/views/tools/email/send.vue index e95885e..d4bd568 100644 --- a/src/views/tools/email/send.vue +++ b/src/views/tools/email/send.vue @@ -2,19 +2,13 @@
- + - - - - + +
- 发送邮件 + 发送邮件
@@ -22,93 +16,55 @@