This commit is contained in:
parent
c8bf03c5e2
commit
c2013b8643
@ -71,11 +71,11 @@ async function fileFinish(file) {
|
|||||||
});
|
});
|
||||||
console.log("上传服务器", r);
|
console.log("上传服务器", r);
|
||||||
|
|
||||||
if (res.code == 1) {
|
if (r.code == 1) {
|
||||||
$msg.success(res.msg);
|
$msg.success(r.msg);
|
||||||
getMyfile();
|
getMyfile();
|
||||||
} else {
|
} else {
|
||||||
$msg.error(res.msg);
|
$msg.error(r.msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user