We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
感谢你做了这样一个工具,但我在使用的时候发现,如果className里面包含了px这两个字符,也会被转成rpx。这个能避免吗?
The text was updated successfully, but these errors were encountered:
可以的,你的具体的类名是什么?
Sorry, something went wrong.
现在的正则大概是这样/([\d\.]+)px/g,可能匹配了类似.pxabc这样的类名。
/([\d\.]+)px/g
.pxabc
已经修复, 1cb8f5b
No branches or pull requests
感谢你做了这样一个工具,但我在使用的时候发现,如果className里面包含了px这两个字符,也会被转成rpx。这个能避免吗?
The text was updated successfully, but these errors were encountered: