@@ -147,9 +147,9 @@ export default {
},
uploadImg(imgData) {
const config = {
- headers: {
- 'Content-Type': 'multipart/form-data'
- },
+ // headers: {
+ // 'Content-Type': 'multipart/form-data'
+ // },
withCredentials: false
} // 添加请求头
return new Promise((resolve, reject) => {