mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 11:56:44 +08:00
Merge branch 'zcwy_0726_download' into dev0515
This commit is contained in:
@@ -520,7 +520,7 @@ export default {
|
|||||||
},
|
},
|
||||||
downLoad(){
|
downLoad(){
|
||||||
if(this.learningSituation.list.length == 0){
|
if(this.learningSituation.list.length == 0){
|
||||||
this.$message.warning('当前暂无数据');
|
this.$message.warning('暂无数据');
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.isTrue = true;
|
this.isTrue = true;
|
||||||
@@ -540,7 +540,6 @@ export default {
|
|||||||
headers: { 'X-Access-Token': getToken() }
|
headers: { 'X-Access-Token': getToken() }
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
this.isTrue = false;
|
this.isTrue = false;
|
||||||
console.log(res,'res')
|
|
||||||
if(res.data.status == 200){
|
if(res.data.status == 200){
|
||||||
if(res.data.result.includes('upload')){
|
if(res.data.result.includes('upload')){
|
||||||
window.open('/upload'+res.data.result.split('upload')[1])
|
window.open('/upload'+res.data.result.split('upload')[1])
|
||||||
|
|||||||
Reference in New Issue
Block a user