mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-13 04:46:44 +08:00
测试
This commit is contained in:
@@ -539,11 +539,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