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