This commit is contained in:
weipengfei 2024-05-31 09:53:08 +08:00
parent 6a3c73d457
commit ba5d0300fd
2 changed files with 4 additions and 3 deletions

View File

@ -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>

View File

@ -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(),