出現(xiàn)跨域問題的,OSS已經(jīng)配置允許所有了 好奇怪 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中的具體使用