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