Home > Mobile >  Vue after packaging, I visit my WeChat public number user information interface, cross-domain
Vue after packaging, I visit my WeChat public number user information interface, cross-domain

Time:11-26

Access to the XMLHttpRequest at https://api.weixin.qq.com/sns/userinfo? Access_token=fasdasd& Openid=5456456465 & amp; Lang=zh_CN 'from origin' http://XXXXXX 'has had been blocked by CORS policy: No' Access - Control - Allow - origin 'header is present on the requested resource.



This is the vue configuration problem or what problem??

CodePudding user response:

Other configuration problem