现在后端给了一个文件上传的API地址给我,让我在ueditor中实现图片上传,上网看了不少资料,主要是在ueditor.config.js这个文件的serverUrl上配置,但配置完后会出现如下错误:
Refused to execute script from 'http://172.16.6.88:8099/api/file/initFileUpload?action=config&callback=bd__editor__og59b' because its MIME type ('application/json') is not executable, and strict MIME type checking is enabled.
请求后台配置项http错误,上传功能将不能正常使用!
还有,我传图片的时候参数又要放到哪里呢?小白一枚,恳求各位大神帮助!
