From e0ed993a5fb4818aa20ec7f91d769402cbb51683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Sun, 7 Sep 2025 13:28:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=98=E5=8E=9F=20api=20=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/env.ts | 8 ++++---- src/pages/userInfo/edit/index.tsx | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/config/env.ts b/src/config/env.ts index 9a97136..5f645b3 100644 --- a/src/config/env.ts +++ b/src/config/env.ts @@ -17,8 +17,8 @@ const envConfigs: Record = { // 开发环境 development: { name: '开发环境', - // apiBaseURL: 'https://sit.light120.com', - apiBaseURL: 'http://localhost:9098', + apiBaseURL: 'https://sit.light120.com', + // apiBaseURL: 'http://localhost:9098', timeout: 15000, enableLog: true, enableMock: true @@ -27,8 +27,8 @@ const envConfigs: Record = { // 测试环境 test: { name: '测试环境', - // apiBaseURL: 'https://sit.light120.com', - apiBaseURL: 'http://localhost:9098', + apiBaseURL: 'https://sit.light120.com', + // apiBaseURL: 'http://localhost:9098', timeout: 12000, enableLog: true, enableMock: false diff --git a/src/pages/userInfo/edit/index.tsx b/src/pages/userInfo/edit/index.tsx index 7e40888..b15fdc9 100644 --- a/src/pages/userInfo/edit/index.tsx +++ b/src/pages/userInfo/edit/index.tsx @@ -169,14 +169,14 @@ const EditProfilePage: React.FC = () => { - - + + - + {/* 基本信息编辑 */}