1. 信任管理

This commit is contained in:
gengxin
2025-03-10 19:24:22 +08:00
parent fd747e03d5
commit 9c1761db09

View File

@@ -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()
})