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

space-x 在开启 taro 压缩后异常 #21

Closed
BoneTM opened this issue Jun 15, 2022 · 7 comments · Fixed by #22
Closed

space-x 在开启 taro 压缩后异常 #21

BoneTM opened this issue Jun 15, 2022 · 7 comments · Fixed by #22

Comments

@BoneTM
Copy link

BoneTM commented Jun 15, 2022

image
image
上图为压缩后
下图为压缩前

@BoneTM
Copy link
Author

BoneTM commented Jun 15, 2022

然后小程序就直接报错了

@ItsRyanWu
Copy link
Contributor

image

想确认下你是不是用了这个功能?

@BoneTM
Copy link
Author

BoneTM commented Jun 15, 2022

应该没有 我是taro 3.4

@BoneTM
Copy link
Author

BoneTM commented Jun 15, 2022

image
image
而且压缩后 带小数点的 rem to rpx 也失效了,不压缩的情况下 工作良好

@BoneTM
Copy link
Author

BoneTM commented Jun 15, 2022

我就是单纯的build:weapp之后 就会这样,感觉可能需要在压缩之前处理rem to rpx

@ItsRyanWu
Copy link
Contributor

感谢反馈这些问题,请升级至 1.4.2 获取修复。

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.

3 participants
@ItsRyanWu @BoneTM and others