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.Multi在计算slide偏移时,build和serve的表现不一致,详见截图 #6247

Closed
caifenglei opened this issue Jul 14, 2023 · 2 comments
Labels

Comments

@caifenglei
Copy link

Version of antd-mobile

5.24.0

Operating system and its version

No response

Browser and its version

No response

Sandbox to reproduce

No response

What happened?

构建前后的计算值应该一致。

Relevant log output

No response

@caifenglei caifenglei added the bug label Jul 14, 2023
@caifenglei
Copy link
Author

caifenglei commented Jul 14, 2023

下面这个是build后,偏移计算值不准确的情况:
build

下面这个是dev跑serve的时候,正确的计算情况:
serve

@caifenglei
Copy link
Author

引入global解决此问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant