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

微信小程序在js设定px大小时 会出现不生效情况 #88

Open
Canyonmnmn opened this issue Feb 8, 2023 · 0 comments
Open

Comments

@Canyonmnmn
Copy link

截屏2023-02-08 15 37 43

这是未生效情况

截屏2023-02-08 15 38 28

这是生效情况 这里宽度的具体数值是通过计算得到的 使用usestate储存后赋值到标签的classname属性上
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

1 participant