Commit 93120dba by Cat

zd 社团

parent 6cdedff9
...@@ -422,11 +422,17 @@ export default { ...@@ -422,11 +422,17 @@ export default {
}, },
// 上传成功回调 // 上传成功回调
handleAvatarSuccess(res, file) { handleAvatarSuccess(res, file) {
console.log("response上传成功回调", res);
console.log("file上传成功回调", file);
if (res.code == 200) { if (res.code == 200) {
this.uploadList.push(this.pev + res.fileName); this.uploadList.push(this.pev + res.fileName);
this.form.file = this.uploadList; this.form.file = this.uploadList;
} }
console.log(this.pev, "this.uploadList111111");
console.log(res.fileName, "res.fileName");
console.log(this.form.file, "this.form.file");
// this.imageUrl = res.data.url; // this.imageUrl = res.data.url;
// console.log(file); // console.log(file);
// this.commonUpload(file); // this.commonUpload(file);
......
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