diff --git a/.env.production b/.env.production index 1c040a2..c600ea5 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 变量必须以 VITE_ 为前缀才能暴露给外部读取 NODE_ENV = 'development' VITE_APP_TITLE = '高赛通' -VITE_APP_BASE_API = http://localhost:18085/jeecg-boot +VITE_APP_BASE_API = http://182.92.169.222:19001/jeecg-boot # VITE_APP_BASE_API = 'http://127.0.0.1:8080' \ No newline at end of file diff --git a/src/Layout/tabbar/index.vue b/src/Layout/tabbar/index.vue index 782592e..146189a 100644 --- a/src/Layout/tabbar/index.vue +++ b/src/Layout/tabbar/index.vue @@ -5,7 +5,7 @@
diff --git a/vite.config.ts b/vite.config.ts index 3c97f35..2986b07 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -33,7 +33,7 @@ export default defineConfig({ host: '0.0.0.0', port: 8866, }, - base:'/student', + base:'/stuhome', resolve: { alias: { '@': path.resolve('./src'), // 相对路径别名配置,使用 @ 代替 src