更新 Web/src/utils/sysInfo.ts

This commit is contained in:
TowCents 2025-04-25 15:56:39 +08:00
parent e1483f186a
commit 029b9312a9

View File

@ -75,7 +75,7 @@ export async function loadSysInfo(tenantid: number) {
}
// 更新 favicon
const updateFavicon = (url: string): void => {
export const updateFavicon = (url: string): void => {
const favicon = document.getElementById('favicon') as HTMLAnchorElement;
favicon!.href = url ? url : 'data:;base64,=';
};