出现跨域问题的,OSS已经配置允许所有了 好奇怪 Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
vue el-upload直传阿里云oss1.首先,node中安装ali-oss 2.封装oss通用上传js工具类 aliOss.js 工具类 utils.js工具类 3.vue中的具体使用