Leon před 1 rokem
rodič
revize
03b843e994
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      src/pages/store/product_list.tsx

+ 4 - 4
src/pages/store/product_list.tsx

@@ -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>
 }