mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修改标题控制
This commit is contained in:
parent
6fa6ed92c3
commit
6bbf6a0577
|
|
@ -102,7 +102,7 @@ const useUserStore = defineStore({
|
|||
async theme(loading?: Ref<boolean>) {
|
||||
return await ThemeApi.getThemeInfo(loading).then((ok) => {
|
||||
this.setTheme(ok.data)
|
||||
window.document.title = this.themeInfo['title'] || 'MaxKB'
|
||||
// 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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue