mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-08 18:36:43 +08:00
导出作业统一提示
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user