Commit ee46d840 by 陈超

T

parent 71971d03
...@@ -230,8 +230,7 @@ ...@@ -230,8 +230,7 @@
url: url, url: url,
type: "post", type: "post",
data: formData, data: formData,
contentType: false, contentType: 'application/json',
processData: false,
success: function(res) { success: function(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