Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ImageViewer] 预加载逻辑存在缺陷 #1515

Closed
QuentinHsu opened this issue Jul 29, 2024 · 1 comment · Fixed by #1516
Closed

[ImageViewer] 预加载逻辑存在缺陷 #1515

QuentinHsu opened this issue Jul 29, 2024 · 1 comment · Fixed by #1516

Comments

@QuentinHsu
Copy link
Contributor

tdesign-mobile-vue 版本

1.3.3

重现链接

https://stackblitz.com/edit/accp7l

重现步骤

当图片列表长度大于 3
点击 index 非 0,1,images.length -1 的图片进行预览时,不会加载当前图片的资源

期望结果

正常加载当前图片

实际结果

未加载当前图片,预加载始终加载的 index 为 [0, 1, props.images.length - 1] 的图片资源

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @QuentinHsu,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

QuentinHsu added a commit to QuentinHsu/tdesign-mobile-vue that referenced this issue Jul 29, 2024
QuentinHsu added a commit to QuentinHsu/tdesign-mobile-vue that referenced this issue Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant