From 05730e4872524710b49687dfadbde4ee98d09703 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Tue, 30 Jul 2024 16:52:46 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E4=BF=AE=E5=A4=8D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=BD=91=E7=AB=99logo=E4=B8=8D=E7=94=9F=E6=95=88?= =?UTF-8?q?=E7=9A=84=E7=BC=BA=E9=99=B7"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 5608b5fd41d2a63ec86e88458d9aa73b223357ba. --- ui/src/stores/modules/user.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/stores/modules/user.ts b/ui/src/stores/modules/user.ts index db5150198..c884f506a 100644 --- a/ui/src/stores/modules/user.ts +++ b/ui/src/stores/modules/user.ts @@ -103,10 +103,10 @@ const useUserStore = defineStore({ return await ThemeApi.getThemeInfo(loading).then((ok) => { this.setTheme(ok.data) window.document.title = this.themeInfo['title'] || 'MaxKB' - const link = document.querySelector('link[rel="icon"]') as any - if (link) { - link['href'] = this.themeInfo['icon'] || '/favicon.ico' - } + // const link = document.querySelector('link[rel="icon"]') as any + // if (link) { + // link['href'] = this.themeInfo['icon'] || '/favicon.ico' + // } }) },