修复单张图片动态全屏会闪退问题

This commit is contained in:
yezian 2024-02-08 21:44:58 +08:00
parent b9de461181
commit 00092db4c4
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ function ImageDisplay({ blur, media }) {
}) })
: () => { : () => {
setIsModalVisible(true); setIsModalVisible(true);
setImageIndex(index); setImageIndex(0);
} }
} }
style={{ style={{