报错提示
Uncaught DOMException: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://forms.xxxx.net" from accessing a cross-origin frame.
at HTMLIFrameElement.contentDocumentDesc.get [as contentDocument] (<anonymous>:66:14)
at uploadAvatarDone (http://forms.xxxx ... avatar.js?Ae4:46:33)
at HTMLIFrameElement.onload (http://forms.xxxx ... cp&ac=avatar:210:97)
上传图片时发送到ucenter域名下的请求是
post /index.php?m=user&a=uploadavatar&appid=1&ucapi=uc.xxxx.net&avatartype=virtual&uploadSize=2048