变更归档查询完成

This commit is contained in:
2026-09-23 13:23:36 +08:00
parent f2770b752a
commit 0e42842611
6 changed files with 510 additions and 297 deletions
+11
View File
@@ -234,6 +234,17 @@ export function getTimeRangeStamp(timeRange: string){
}
}
// 下载文件
export function downloadFileFun(url: string, name: string) {
const a = document.createElement('a');
a.href = url;
a.target = '_blank';
a.download = name;
document.body.appendChild(a)
a.click()
document.body.removeChild(a);
}
// 获取 token
export const getToken = () => {
return localStorage.getItem('token');