修复空间内动态组件展示bug

This commit is contained in:
yezian 2024-04-26 14:50:36 +08:00
parent 86cb9426a4
commit b6c462ecbc
1 changed files with 2 additions and 4 deletions

View File

@ -630,12 +630,10 @@ function ImageDisplay({
),
}}
>
<Text style={tailwind("text-xs text-white font-medium")}>
不可预览
</Text>
<Text style={tailwind("text-white font-medium")}>付费内容</Text>
</View>
)}
{index === 8 && isCollapsed && (
{index === 8 && media.length > 9 && isCollapsed && (
<TouchableOpacity
activeOpacity={1}
onPress={() => setIsCollapsed(false)}