开发者社区> 问答> 正文

后台用的KindEditor 这两天上传图片突然出问题了,上百KB的图片上传报错?报错

Uncaught TypeError: Cannot call method 'replace' of undefined data:text/html,chromewebdata:278
Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://www.domain.com" from accessing a frame with origin "null".  The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "data". Protocols must match.


后台用的KindEditor 这两天上传图片突然出问题了,几KB小图片可以上传,上百KB的图片就报这个错误,在本地测试没问题,有遇到过此问题的吗?求助。

展开
收起
爱吃鱼的程序员 2020-06-09 16:04:25 963 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    问题解决了,原来是nginx日志文件太大导致的

    2020-06-09 16:04:41
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
附件下载测试 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载