This commit is contained in:
Your Name
2026-03-20 18:00:19 +08:00
parent d765517b74
commit 18fee2e8f8
240 changed files with 976 additions and 280 deletions
+4 -2
View File
@@ -2,13 +2,15 @@
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'
import useUserStore from './stores/modules/user'
import ChatNotifyToast from './components/chat-notify-toast/index.vue'
const appStore = useAppStore()
const settingStore = useSettingStore()
const userStore = useUserStore()
const elConfig = {
zIndex: 2000,
locale: zhCn
@@ -43,7 +45,7 @@ watch(
<template>
<el-config-provider :locale="elConfig.locale" :z-index="elConfig.zIndex">
<router-view />
<ChatNotifyToast v-if="userStore.token" />
</el-config-provider>
</template>