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