diff --git a/src/components/Study/manager.vue b/src/components/Study/manager.vue
index d5f1077e..7f6b6452 100644
--- a/src/components/Study/manager.vue
+++ b/src/components/Study/manager.vue
@@ -292,7 +292,7 @@
搜索
- 导出全部作业
+ 导出全部作业
@@ -354,6 +354,7 @@ export default {
downParams: {},
typePress: false,
isHomeWork: false,
+ isTrue: false,
catalogRecordTree:[],
catalogRecordList:[],
resOwnerListMap:[],
@@ -520,6 +521,7 @@ export default {
this.$message.warning('当前暂无数据');
return
}
+ this.isTrue = true;
let params = {
courseName:this.manageStudyData.name,
courseId: this.manageStudyData.id,
@@ -544,6 +546,7 @@ export default {
headers: { 'X-Access-Token': getToken() }
}).then((response) => {
if (response.status === 200) {
+ this.isTrue = false;
if (!(response.headers['content-type']).startsWith('application/json')) {
this.resolveBlob(response, 'application/zip', `${params.courseName}【作业】`);
} else {
@@ -557,6 +560,7 @@ export default {
}
}
}).catch((error) => {
+ this.isTrue = false;
// 错误处理
console.log(error);
this.$message.error(error.data ? error.data.message : error.toString());