Commit 1ac892f3 by 陈超

T

parent ee46d840
...@@ -230,8 +230,10 @@ ...@@ -230,8 +230,10 @@
url: url, url: url,
type: "post", type: "post",
data: formData, data: formData,
contentType: 'application/json', contentType: false,
processData: false,
success: function(res) { success: function(res) {
console.log(res)
if(res.status == 1) { if(res.status == 1) {
that.currentAvatar = res.data.src that.currentAvatar = res.data.src
} }
......
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