🐞 fix(版本号): 显示版本号信息
This commit is contained in:
parent
1d8b83c1e7
commit
b37006724b
@ -246,8 +246,8 @@ const User = () => {
|
|||||||
<UserInfo />
|
<UserInfo />
|
||||||
|
|
||||||
{/* 测试暂时添加 */}
|
{/* 测试暂时添加 */}
|
||||||
{CURRENT_ENV === 'development' && <View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{CURRENT_VERSION}</View>}
|
{CURRENT_ENV !== 'prod' && <View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{CURRENT_VERSION}</View>}
|
||||||
{CURRENT_ENV === 'development' && <View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{BASE_URL}</View>}
|
{CURRENT_ENV !== 'prod' && <View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{BASE_URL}</View>}
|
||||||
</View>
|
</View>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user