Commit 13f3b49a by 陈超

T

parent 1ac892f3
...@@ -233,9 +233,9 @@ ...@@ -233,9 +233,9 @@
contentType: false, contentType: false,
processData: false, processData: false,
success: function(res) { success: function(res) {
console.log(res) let result = JSON.parse(res)
if(res.status == 1) { if(result.status == 1) {
that.currentAvatar = res.data.src that.currentAvatar = result.data.src
} }
}, },
error: function(data) { error: function(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