diff --git a/app.config.js b/app.config.js index 000fba4..b35ab37 100644 --- a/app.config.js +++ b/app.config.js @@ -12,7 +12,7 @@ export const IOS_UNIVERSAL_LINK = 'duooomi.bowong.cn' // 原生版本,原生代码变更时需要更新此版本号 export const VERSION = '1.1.0' // JavaScript版本,JS代码变更时需要更新此版本号 -export const APP_VERSION = 'dev202601151552' +export const APP_VERSION = 'dev202601161658' const ALIPAY_SCHEMA = 'alipay2021006119657394' const ALIPAY_SCHEMA_SANDBOX = 'alipay9021000158673972' diff --git a/app/(tabs)/generate.tsx b/app/(tabs)/generate.tsx index a42cb11..7a8c08f 100644 --- a/app/(tabs)/generate.tsx +++ b/app/(tabs)/generate.tsx @@ -309,6 +309,7 @@ const Generate = observer(function Generate() { ListFooterComponent={ListFooter} ListHeaderComponent={ListHeader} numColumns={3} + maxItemsInRecyclePool={0} renderItem={renderItem} showsVerticalScrollIndicator={false} refreshControl={ diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.tsx index 874634e..0cbc07e 100644 --- a/app/(tabs)/index.tsx +++ b/app/(tabs)/index.tsx @@ -351,8 +351,6 @@ const Index = observer(function Index() { // 简化的 selectedId,避免对象引用变化 const selectedId = selectedItem?.id - console.log('ssss--------------') - // 可见性状态 const visibleIdsRef = useRef>(new Set()) const [visibilityVersion, setVisibilityVersion] = useState(0) @@ -426,6 +424,7 @@ const Index = observer(function Index() { } numColumns={3} onEndReached={handleLoadMore} + maxItemsInRecyclePool={0} removeClippedSubviews={true} drawDistance={600} onEndReachedThreshold={0.3} @@ -666,7 +665,7 @@ const GridItem = memo(function GridItem({ item, isSelected, itemW // 使用压缩好了webp预览,不可见情况下不渲染图片 return ( - +