fix 文档管理模块 & 法规对话模块

This commit is contained in:
2026-05-20 23:34:08 +08:00
parent c22b03dc07
commit b065d55c86
39 changed files with 1671 additions and 540 deletions

View File

@@ -4,7 +4,7 @@ import react from '@vitejs/plugin-react'
// https://vite.dev/config/
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '')
const apiHost = env.API_HOST || 'localhost'
const apiHost = env.API_HOST || '6.86.80.8'
const apiPort = env.API_PORT || '8000'
const proxyTarget = env.VITE_API_PROXY_TARGET || `http://${apiHost}:${apiPort}`