diff --git a/src/renderer/components/Upload.vue b/src/renderer/components/Upload.vue index 9afb3cb..6e55d80 100644 --- a/src/renderer/components/Upload.vue +++ b/src/renderer/components/Upload.vue @@ -69,6 +69,9 @@ 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 { parent.$refs.upload.message = response.message; }