From a9c3543f4b4fa5a092a8dea688aedc2b2adbd576 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期二, 24 六月 2025 17:34:50 +0800
Subject: [PATCH] feat: 【来票台账】显示附件
---
vite.config.js | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/vite.config.js b/vite.config.js
index 8a49d01..2c84c9f 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -2,12 +2,14 @@
import path from 'path'
import createVitePlugins from './vite/plugins'
-const baseUrl = 'http://localhost:8080' // 鍚庣鎺ュ彛
-
// https://vitejs.dev/config/
export default defineConfig(({ mode, command }) => {
const env = loadEnv(mode, process.cwd())
const { VITE_APP_ENV } = env
+ const baseUrl = VITE_APP_ENV == 'development'
+ ? 'http://192.168.10.2:7003' // 寮�鍙戠幆澧冨悗绔帴鍙�
+ : 'http://114.132.189.42:7004' // 鐢熶骇鐜鍚庣鎺ュ彛
+
return {
// 閮ㄧ讲鐢熶骇鐜鍜屽紑鍙戠幆澧冧笅鐨刄RL銆�
// 榛樿鎯呭喌涓嬶紝vite 浼氬亣璁句綘鐨勫簲鐢ㄦ槸琚儴缃插湪涓�涓煙鍚嶇殑鏍硅矾寰勪笂
@@ -59,7 +61,6 @@
}
}
},
- //fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
css: {
postcss: {
plugins: [
@@ -68,7 +69,7 @@
AtRule: {
charset: (atRule) => {
if (atRule.name === 'charset') {
- atRule.remove();
+ atRule.remove()
}
}
}
--
Gitblit v1.9.3