diff --git a/src/components/Study/manager.vue b/src/components/Study/manager.vue index 98703e17..d5f1077e 100644 --- a/src/components/Study/manager.vue +++ b/src/components/Study/manager.vue @@ -547,12 +547,10 @@ export default { if (!(response.headers['content-type']).startsWith('application/json')) { this.resolveBlob(response, 'application/zip', `${params.courseName}γ€δ½œδΈšγ€‘`); } else { + console.log(response,'response') const reader = new FileReader(); - reader.onload = function(e) { + reader.onload = (e) => { const errorData = JSON.parse(e.target.result) - console.log(errorData.result,'result') - const message = errorData.result - this.$message.error(message) this.$message.error(errorData.result) }; reader.readAsText(response.data);