vue 使用阿里OSS服务端签名后上传图片,通过后台拿到了需要的数据和上传地址,请求这个上传地址的时候报错,出现跨域问题,在阿里上也配置了 但还是出现这种错误,请问要怎么配置???还需要后台配置什么嘛???
这是报的错:
POST https://lordray-pic.oss-cn-sh... 405 (Method Not Allowed)
Failed to load https://lordray-pic.oss-cn-sh...: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.7.149:8090' is therefore not allowed access. The response had HTTP status code 405.
相关分类