Webservice response

This commit is contained in:
portree_kid 2020-04-11 21:52:30 +02:00
parent 677695d0ba
commit 7092441d3b

View File

@ -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;
} }