rrweb
rrweb copied to clipboard
[Bug]: rrweb-plyer 回放时,UI框架使用的vant-ui,动态添加样式时,style显示的为[Object Object]
Preflight Checklist
- [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
What package is this bug report for?
rrweb-player
Version
v1.0.0
Expected Behavior
UI框架使用的vant-ui,动态添加样式时,style显示的为[Object Object]
Actual Behavior
UI框架使用的vant-ui,动态添加样式时,style显示的为[Object Object]
Steps to Reproduce
UI框架使用的vant-ui,动态添加样式时,style显示的为[Object Object]
Testcase Gist URL
No response
Additional Information
No response
+1
使用vant,回放时vant的icon不显示
add style="fontFamily: 'vant-icon'" to van-icon, like this :
<van-icon name="chat-o" size="2rem" style="fontFamily: 'vant-icon'" />
重置revant.less样式, 增加
.van-icon { font-family: 'vant-icon', serif !important; } 比较好用
重置revant.less样式, 增加
.van-icon { font-family: 'vant-icon', serif !important; } 比较好用
救命了哥们[抱拳]