This commit is contained in:
parent
6a3c73d457
commit
ba5d0300fd
|
@ -1,6 +1,6 @@
|
|||
<script setup lang="ts">
|
||||
import { useDark, useWindowSize, useThrottleFn } from '@vueuse/core'
|
||||
// import zhCn from 'element-plus/lib/locale/lang/zh-cn'
|
||||
import zhCn from 'element-plus/es/locale/lang/zh-cn'
|
||||
import useAppStore from './stores/modules/app'
|
||||
import useSettingStore from './stores/modules/setting'
|
||||
import { ScreenEnum } from './enums/appEnums'
|
||||
|
@ -50,7 +50,7 @@ watch(
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<el-config-provider>
|
||||
<el-config-provider :locale="zhCn">
|
||||
<router-view />
|
||||
</el-config-provider>
|
||||
</template>
|
||||
|
|
|
@ -14,7 +14,8 @@ import vueSetupExtend from 'vite-plugin-vue-setup-extend'
|
|||
export default defineConfig({
|
||||
base: '/admin/',
|
||||
server: {
|
||||
host: '0.0.0.0'
|
||||
host: '0.0.0.0',
|
||||
port: 5180
|
||||
},
|
||||
plugins: [
|
||||
vue(),
|
||||
|
|
Loading…
Reference in New Issue