Welcome to JiKe DevOps Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
217 views
in Technique[技术] by (71.8m points)

react渲染css格式的样式

touch-action: none; left: 0px; top: 0.800725em; transform: translate(0px, 0px);
后端返回给的这样的css代码,需要变成对象渲染到行内
不能给类名去css里调用js变量,因为本地还有一个控制,权重得是一样的

image.png
这怎么搞


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

1 Answer

0 votes
by (71.8m points)

直接根据;:转化成obj,再传入


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to JiKe DevOps Community for programmer and developer-Open, Learning and Share
...