更新
This commit is contained in:
+3
-1
@@ -2,6 +2,7 @@
|
||||
import { useDark, useThrottleFn, useWindowSize } from '@vueuse/core'
|
||||
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
||||
|
||||
|
||||
import { ScreenEnum } from './enums/appEnums'
|
||||
import useAppStore from './stores/modules/app'
|
||||
import useSettingStore from './stores/modules/setting'
|
||||
@@ -9,7 +10,7 @@ import useSettingStore from './stores/modules/setting'
|
||||
const appStore = useAppStore()
|
||||
const settingStore = useSettingStore()
|
||||
const elConfig = {
|
||||
zIndex: 3000,
|
||||
zIndex: 2000,
|
||||
locale: zhCn
|
||||
}
|
||||
const isDark = useDark()
|
||||
@@ -42,6 +43,7 @@ watch(
|
||||
<template>
|
||||
<el-config-provider :locale="elConfig.locale" :z-index="elConfig.zIndex">
|
||||
<router-view />
|
||||
|
||||
</el-config-provider>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user