Commit 73a09a88 by 陈超

T

parent 4a43f4dd
......@@ -223,7 +223,7 @@
},
onRead: function(r) {
let formData = new FormData()
formData.append('file', f.file)
formData.append('file', r.file)
let url = U('widget/Upload/save') + '&attach_type=avatar&upload_type=image&thumb=1&width=44&height=44&cut=false'
$.ajax({
url: url,
......
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