后台管理功能实现

This commit is contained in:
2025-10-28 17:30:47 +08:00
parent 3f651d8072
commit f7a3868f34
10 changed files with 4562 additions and 24 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
# 开发环境配置
VITE_APP_TITLE=情绪博物馆管理后台
VITE_APP_BASE_API=/api
VITE_APP_BASE_API=http://localhost:19089/api
VITE_APP_PORT=5174
+2 -1
View File
@@ -1,3 +1,4 @@
# 生产环境配置
VITE_APP_TITLE=情绪博物馆管理后台
VITE_APP_BASE_API=/api
# 生产环境需要配置实际的后端服务器地址
VITE_APP_BASE_API=http://localhost:19089/api
+4194
View File
File diff suppressed because it is too large Load Diff
+3 -2
View File
@@ -13,8 +13,9 @@ export default defineConfig({
port: 5174,
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true
target: 'http://localhost:19089',
changeOrigin: true,
rewrite: (path) => path
}
}
},