mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
Merge branch 'zcwy_0726_download' into dev0515
This commit is contained in:
@@ -549,11 +549,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
const reader = new FileReader();
|
const reader = new FileReader();
|
||||||
reader.onload = function(e) {
|
reader.onload = function(e) {
|
||||||
console.log(e,'e')
|
|
||||||
const errorData = JSON.parse(e.target.result);
|
const errorData = JSON.parse(e.target.result);
|
||||||
console.log(errorData,'errorData')
|
this.$message.error(errorData.result.toString());
|
||||||
console.log(errorData.result,errorData.message,'errorData.result')
|
|
||||||
// this.$message.error(errorData.result);
|
|
||||||
};
|
};
|
||||||
reader.readAsText(response.data);
|
reader.readAsText(response.data);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user