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