正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -105,6 +105,7 @@ export function uploadAvatar(data) { | @@ -105,6 +105,7 @@ export function uploadAvatar(data) { | ||
| 105 | return request({ | 105 | return request({ |
| 106 | url: '/system/user/profile/avatar', | 106 | url: '/system/user/profile/avatar', |
| 107 | method: 'post', | 107 | method: 'post', |
| 108 | + headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, | ||
| 108 | data: data | 109 | data: data |
| 109 | }) | 110 | }) |
| 110 | } | 111 | } |
-
请 注册 或 登录 后发表评论