feat: 功能

This commit is contained in:
2025-11-12 22:45:29 +08:00
parent 94c114a44d
commit fc7d2ccea5
41 changed files with 2406 additions and 343 deletions

View File

@@ -21,7 +21,7 @@ export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), '')
const DEV_TOKEN = env.VITE_DEV_TOKEN || ''
const TENANT_ID = env.VITE_TENANT_ID || '1'
const API_TARGET = env.VITE_PROXY_TARGET || 'http://8.155.172.147:9900'
const API_TARGET = env.VITE_PROXY_TARGET || 'http://localhost:9900'
return {
plugins: [
@@ -61,6 +61,7 @@ export default defineConfig(({ mode }) => {
},
server: {
proxy: {
// 代理 /webApi 开头的请求
'/webApi': {
target: API_TARGET,
changeOrigin: true,