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
b9e4080d03
commit
7d1c19cfbe
|
|
@ -5,6 +5,7 @@ import { cloneDeep } from 'lodash'
|
|||
import UserApi from '@/api/user'
|
||||
import ThemeApi from '@/api/theme'
|
||||
import { useElementPlusTheme } from 'use-element-plus-theme'
|
||||
import { defaultPlatformSetting } from '@/utils/theme'
|
||||
|
||||
export interface userStateTypes {
|
||||
userType: number // 1 系统操作者 2 对话用户
|
||||
|
|
@ -90,6 +91,10 @@ const useUserStore = defineStore({
|
|||
|
||||
if (this.isEnterprise()) {
|
||||
await this.theme()
|
||||
} else {
|
||||
this.themeInfo = {
|
||||
...defaultPlatformSetting
|
||||
}
|
||||
}
|
||||
resolve(ok)
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue