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

development 和 production表现不一致 #27

Closed
centuryPark opened this issue Jul 5, 2019 · 1 comment
Closed

development 和 production表现不一致 #27

centuryPark opened this issue Jul 5, 2019 · 1 comment

Comments

@centuryPark
Copy link

centuryPark commented Jul 5, 2019

您好:
iOS 12,微信 7.04
当我运行 npm run dev的时候,在微信中打开,图片宽高显示失真;

WechatIMG637
当我运行 npm run build的时候,本地起了个服务,然后在微信中打开,图片显示正常;

WechatIMG640

请问在打包的时候有做什么处理吗?

@fengyuanchen
Copy link
Owner

理论上,只要 cropperjs 的版本一致,就不会出现这样的问题。你可以试试最新版的 cropperjs

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

No branches or pull requests

2 participants