🐞 fix(git和地址提示): 修改为不能再正式环境显示

This commit is contained in:
xuan 2023-02-23 21:11:34 +08:00
parent 35318bb333
commit 61dc5c740e

View File

@ -266,8 +266,8 @@ const User = () => {
<UserInfo />
{/* 测试暂时添加 */}
{CURRENT_ENV !== 'prod' && <View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{CURRENT_VERSION}</View>}
{CURRENT_ENV !== 'prod' && <View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{BASE_URL}</View>}
{CURRENT_ENV !== 'production' && <View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{CURRENT_VERSION}</View>}
{CURRENT_ENV !== 'production' && <View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{BASE_URL}</View>}
</View>
</>
)