还原 api 调用地址

This commit is contained in:
张成
2025-09-07 13:28:35 +08:00
parent 8fdee42ab8
commit e0ed993a5f
2 changed files with 10 additions and 10 deletions

View File

@@ -17,8 +17,8 @@ const envConfigs: Record<EnvType, EnvConfig> = {
// 开发环境
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<EnvType, EnvConfig> = {
// 测试环境
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

View File

@@ -169,14 +169,14 @@ const EditProfilePage: React.FC = () => {
<View className="avatar_container" onClick={handle_avatar_upload}>
<Image className="avatar" src={user_info.avatar} />
<View className="avatar_overlay">
<Image
className="upload_icon"
src={require('../../../static/userInfo/edit2.svg')}
/>
</View>
<Image
className="upload_icon"
src={require('../../../static/userInfo/edit2.svg')}
/>
</View>
</View>
</View>
{/* 基本信息编辑 */}