perf: 路由子集显示可配置

This commit is contained in:
xingyu
2022-12-20 16:05:16 +08:00
parent ec0bb01e07
commit 1ef6016d9d
4 changed files with 12 additions and 3 deletions

View File

@ -30,7 +30,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
// 端口号
port: env.VITE_PORT,
host: "0.0.0.0",
open: env.VITE_OPEN,
open: env.VITE_OPEN === 'true',
// 本地跨域代理
proxy: {
['/admin-api']: {