Commit 13f3b49a by 陈超

T

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