|
|
@ -35,8 +35,8 @@ |
|
|
|
this.editor = new E( document.getElementById('editor') ) |
|
|
|
this.editor.config.height = 800 |
|
|
|
this.editor.config.uploadImgShowBase64 = false // base 64 存储图片 |
|
|
|
this.editor.config.uploadImgServer = `${BASE_API}/file/upload`// 配置服务器端地址 |
|
|
|
this.editor.config.uploadVideoServer = `${BASE_API}/file/upload` |
|
|
|
this.editor.config.uploadImgServer = `${BASE_API}/file/uploadImg`// 配置服务器端地址 |
|
|
|
this.editor.config.uploadVideoServer = `${BASE_API}/file/uploadAudio` |
|
|
|
this.editor.config.uploadVideoName = 'file' |
|
|
|
this.editor.config.uploadFileName = 'file' // 后端接受上传文件的参数名 |
|
|
|
this.editor.config.uploadImgMaxSize = 2 * 1024 * 1024 // 将图片大小限制为 2M |
|
|
|