2 Commits

Author SHA1 Message Date
RuoYi
68ef1297cb avatar add headers 2024-07-02 16:10:58 +08:00
RuoYi
b79f01e051 升级axios到最新版本0.28.1 2024-07-02 12:58:10 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -37,7 +37,7 @@
},
"dependencies": {
"@riophae/vue-treeselect": "0.4.0",
"axios": "0.24.0",
"axios": "0.28.1",
"clipboard": "2.0.8",
"core-js": "3.37.1",
"echarts": "5.4.0",

View File

@@ -105,6 +105,7 @@ export function uploadAvatar(data) {
return request({
url: '/system/user/profile/avatar',
method: 'post',
headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
data: data
})
}