mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
1. 信任管理
This commit is contained in:
@@ -37,6 +37,12 @@ export function downLoadZipManage(str, filename,fun) {
|
|||||||
headers: { 'Authorization': 'Bearer ' + getCookieForName("token") }
|
headers: { 'Authorization': 'Bearer ' + getCookieForName("token") }
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log("downLoadZipManage res nginx ==> ",res)
|
console.log("downLoadZipManage res nginx ==> ",res)
|
||||||
|
if(res.headers.ecode == 4){
|
||||||
|
//TODO1-1 弹出框
|
||||||
|
this.$message.error("权限不足!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
resolveBlob(res, mimeMap.xlsx,filename)
|
resolveBlob(res, mimeMap.xlsx,filename)
|
||||||
if(fun) fun()
|
if(fun) fun()
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user