feat: 同步代码

This commit is contained in:
kailong321200875 2024-01-21 15:09:34 +08:00
parent 48c5c9af8a
commit 67a202fef3
3 changed files with 6 additions and 3 deletions

View File

@ -32,4 +32,7 @@ VITE_USE_ALL_ELEMENT_PLUS_STYLE=false
VITE_USE_MOCK=true
# 是否切割css
VITE_USE_CSS_SPLIT=false
VITE_USE_CSS_SPLIT=false
# 是否使用在线图标
VITE_USE_ONLINE_ICON=true

View File

@ -40,7 +40,7 @@
"driver.js": "^1.3.1",
"echarts": "^5.4.3",
"echarts-wordcloud": "^2.1.0",
"element-plus": "^2.5.1",
"element-plus": "^2.5.2",
"lodash-es": "^4.17.21",
"mitt": "^3.0.1",
"nprogress": "^0.2.0",

View File

@ -136,7 +136,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
cssCodeSplit: !(env.VITE_USE_CSS_SPLIT === 'false')
},
server: {
port: 4000,
port: 5000,
proxy: {
// 选项写法
'/api': {