mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修改typo错误
This commit is contained in:
parent
7e08aedcfc
commit
433090b30b
|
|
@ -35,7 +35,7 @@ export function getThemeImg(val: string) {
|
|||
return themeList.filter((v) => v.value === val)?.[0]?.loginBackground || 'default'
|
||||
}
|
||||
|
||||
export const defautSetting = {
|
||||
export const defaultSetting = {
|
||||
icon: '',
|
||||
loginLogo: '',
|
||||
loginImage: '',
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ import { onBeforeRouteLeave } from 'vue-router'
|
|||
import type { FormInstance, FormRules, UploadFiles } from 'element-plus'
|
||||
import { cloneDeep } from 'lodash'
|
||||
import LoginPreview from './LoginPreview.vue'
|
||||
import { themeList, defautSetting } from '@/utils/theme'
|
||||
import { themeList, defaultSetting } from '@/utils/theme'
|
||||
import ThemeApi from '@/api/theme'
|
||||
import { MsgSuccess, MsgError } from '@/utils/message'
|
||||
import useStore from '@/stores'
|
||||
|
|
@ -199,7 +199,7 @@ function resetTheme() {
|
|||
function resetForm() {
|
||||
themeForm.value = {
|
||||
theme: themeForm.value.theme,
|
||||
...defautSetting
|
||||
...defaultSetting
|
||||
}
|
||||
user.setTheme(themeForm.value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue