导出作业统一提示

This commit is contained in:
zhangsir
2024-08-06 17:10:06 +08:00
parent 184427d331
commit cd3f693b44

View File

@@ -508,7 +508,7 @@ export default {
},
downLoad(){
if(this.learningSituation.list.length == 0){
this.$message.warning('当前暂无数据');
this.$message.warning('暂无数据');
return
}
this.isTrue = true;
@@ -528,7 +528,6 @@ export default {
headers: { 'X-Access-Token': getToken() }
}).then((res) => {
this.isTrue = false;
console.log(res,'res')
if(res.data.status == 200){
if(res.data.result.includes('upload')){
window.open('/upload'+res.data.result.split('upload')[1])