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