Webservice response
This commit is contained in:
parent
677695d0ba
commit
7092441d3b
@ -69,6 +69,9 @@
|
|||||||
parent.$refs.upload.message += element.message + '\r\n';
|
parent.$refs.upload.message += element.message + '\r\n';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
} else if(JSON.parse(e.srcElement.response) !== undefined) {
|
||||||
|
var response = JSON.parse(e.srcElement.response);
|
||||||
|
parent.$refs.upload.message = response.err;
|
||||||
} else {
|
} else {
|
||||||
parent.$refs.upload.message = response.message;
|
parent.$refs.upload.message = response.message;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user