web项目在本地环境可以正常引入,但是在线上环境下会报跨域问题
Access to script at 'https://res.wx.qq.com/open/js/jweixin-1.6.0.js' from origin 'xxx.xxx.tech' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://open.weixin.qq.com' that is not equal to the supplied origin.
线上服务器Access-Control-Allow-Origin也设置了*,也已经在公众号设置里JS接口安全域名中加入web域名