wangeditor兼容新版本
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user