还原 api 调用地址
This commit is contained in:
@@ -17,8 +17,8 @@ const envConfigs: Record<EnvType, EnvConfig> = {
|
|||||||
// 开发环境
|
// 开发环境
|
||||||
development: {
|
development: {
|
||||||
name: '开发环境',
|
name: '开发环境',
|
||||||
// apiBaseURL: 'https://sit.light120.com',
|
apiBaseURL: 'https://sit.light120.com',
|
||||||
apiBaseURL: 'http://localhost:9098',
|
// apiBaseURL: 'http://localhost:9098',
|
||||||
timeout: 15000,
|
timeout: 15000,
|
||||||
enableLog: true,
|
enableLog: true,
|
||||||
enableMock: true
|
enableMock: true
|
||||||
@@ -27,8 +27,8 @@ const envConfigs: Record<EnvType, EnvConfig> = {
|
|||||||
// 测试环境
|
// 测试环境
|
||||||
test: {
|
test: {
|
||||||
name: '测试环境',
|
name: '测试环境',
|
||||||
// apiBaseURL: 'https://sit.light120.com',
|
apiBaseURL: 'https://sit.light120.com',
|
||||||
apiBaseURL: 'http://localhost:9098',
|
// apiBaseURL: 'http://localhost:9098',
|
||||||
timeout: 12000,
|
timeout: 12000,
|
||||||
enableLog: true,
|
enableLog: true,
|
||||||
enableMock: false
|
enableMock: false
|
||||||
|
|||||||
@@ -169,14 +169,14 @@ const EditProfilePage: React.FC = () => {
|
|||||||
<View className="avatar_container" onClick={handle_avatar_upload}>
|
<View className="avatar_container" onClick={handle_avatar_upload}>
|
||||||
<Image className="avatar" src={user_info.avatar} />
|
<Image className="avatar" src={user_info.avatar} />
|
||||||
<View className="avatar_overlay">
|
<View className="avatar_overlay">
|
||||||
<Image
|
<Image
|
||||||
className="upload_icon"
|
className="upload_icon"
|
||||||
src={require('../../../static/userInfo/edit2.svg')}
|
src={require('../../../static/userInfo/edit2.svg')}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
{/* 基本信息编辑 */}
|
{/* 基本信息编辑 */}
|
||||||
|
|||||||
Reference in New Issue
Block a user