Commit 2f477082 authored by fwz's avatar fwz

头像上传

parent ef364734
......@@ -257,7 +257,7 @@ export default {
// 请求头一定要加,否则 iOS 图片上传会失败
header: {
'content-type': 'multipart/form-data',
'Authorization': 'Bearer ' + uni.getStorageSync('userToken')
},
success: (res) => {
let uploadData = JSON.parse(res.data)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment