更新 Web/src/utils/sysInfo.ts
This commit is contained in:
parent
e1483f186a
commit
029b9312a9
@ -75,7 +75,7 @@ export async function loadSysInfo(tenantid: number) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 更新 favicon
|
// 更新 favicon
|
||||||
const updateFavicon = (url: string): void => {
|
export const updateFavicon = (url: string): void => {
|
||||||
const favicon = document.getElementById('favicon') as HTMLAnchorElement;
|
const favicon = document.getElementById('favicon') as HTMLAnchorElement;
|
||||||
favicon!.href = url ? url : 'data:;base64,=';
|
favicon!.href = url ? url : 'data:;base64,=';
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user