fix: 去掉本地调试地址

This commit is contained in:
jawe
2025-11-03 17:10:47 +08:00
parent b94f34c67d
commit f3b7b4f66f
4 changed files with 5 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ VITE_PORT=5666
VITE_BASE=/ VITE_BASE=/
# 请求路径 # 请求路径
VITE_BASE_URL=http://47.103.66.220:48080 VITE_BASE_URL=http://127.0.0.1:48080
# 接口地址 # 接口地址
VITE_GLOB_API_URL=/admin-api VITE_GLOB_API_URL=/admin-api
# 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务 # 文件上传类型server - 后端上传, client - 前端直连上传仅支持S3服务

View File

@@ -10,7 +10,7 @@ export default defineConfig(async () => {
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/admin-api/, ''), rewrite: (path) => path.replace(/^\/admin-api/, ''),
// mock代理目标地址 // mock代理目标地址
target: 'http://47.103.66.220:48080/admin-api', target: 'http://localhost:48080/admin-api',
ws: true, ws: true,
}, },
}, },

View File

@@ -587,7 +587,7 @@ $phone-width: 375px;
width: 100%; width: 100%;
margin: 16px 0 0; margin: 16px 0 0;
overflow: hidden; overflow: hidden;
background-color: var(--background); background-color: var(--app-content-bg-color);
/* 手机顶部 */ /* 手机顶部 */
.editor-design-top { .editor-design-top {

View File

@@ -129,7 +129,8 @@
"maxSize": "A single file does not exceed {0}MB", "maxSize": "A single file does not exceed {0}MB",
"maxSizeMultiple": "Only upload files up to {0}MB!", "maxSizeMultiple": "Only upload files up to {0}MB!",
"maxNumber": "Only upload up to {0} files", "maxNumber": "Only upload up to {0} files",
"uploadSuccess": "Upload successfully" "uploadSuccess": "Upload successfully",
"imgUploading": "Image sending, please wait..."
}, },
"cropper": { "cropper": {
"selectImage": "Select Image", "selectImage": "Select Image",