下载按钮loading判读逻辑修改
This commit is contained in:
@@ -67,8 +67,10 @@ const handleDownLoad = () => {
|
||||
if (res.code == 'A0000') {
|
||||
window.open(res.data, '_blank')
|
||||
downLoading.value = false
|
||||
} else if (res.code && res.code != 'A0000') {
|
||||
downLoading.value = false
|
||||
}
|
||||
}).catch((e)=>{
|
||||
if(e){
|
||||
downLoading.value=false;
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user