ueditor图片跨域问题
时间: 2023-09-28 08:04:02 浏览: 110
对于UEditor的图片跨域问题,有两种解决方法。一种是将上传图片程序放到接口程序中,并对上传图片接口进行跨域处理。但有时会出现报错的情况。另一种方法是将UEditor中的图片资源文件(如emotion.html)复制到项目工程中,并更改资源文件中的请求路径,这样就不涉及跨域问题了。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [ueditor上传图片跨域问题解决](https://blog.csdn.net/weixin_39958138/article/details/114472681)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [ueditor-跨域问题](https://blog.csdn.net/weixin_31477659/article/details/116217667)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文