|
|
@@ -131,7 +131,7 @@ export default function ProductList() {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- return <View style={{flex:1,position:'relative'}}>
|
|
|
+ return <View style={{ flex: 1, position: 'relative' }}>
|
|
|
<View style={{ height: 40 }} />
|
|
|
{
|
|
|
packages.map((item, index) => {
|
|
|
@@ -170,8 +170,8 @@ export default function ProductList() {
|
|
|
</View>
|
|
|
</View>
|
|
|
}
|
|
|
- {/* {
|
|
|
- errorCode != -1 && <Text style={{ color: '#fff', fontSize: 40 }}>出错了,错误代码{errorCode}</Text>
|
|
|
- } */}
|
|
|
+ {
|
|
|
+ errorCode != -1 && user.test_user && <Text style={{ color: '#fff', fontSize: 40 }}>出错了,错误代码{errorCode}</Text>
|
|
|
+ }
|
|
|
</View>
|
|
|
}
|