Merge branch 'zcwy_0726_download' into dev0515

This commit is contained in:
nisen
2024-08-06 17:11:35 +08:00

View File

@@ -520,7 +520,7 @@ export default {
},
downLoad(){
if(this.learningSituation.list.length == 0){
this.$message.warning('当前暂无数据');
this.$message.warning('暂无数据');
return
}
this.isTrue = true;
@@ -540,7 +540,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])