rrweb icon indicating copy to clipboard operation
rrweb copied to clipboard

[Bug]: 在ios系统中使用vant vue2组件库自带icon字体图标,直播模式无法正常显示

Open qqccyv opened this issue 2 years ago • 3 comments

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-snapshot

Expected Behavior

希望图标能正常显示

Actual Behavior

vant vue2 组件库自带icon被捕捉资源传输出来的是一个base64格式,Android可以正常显示,截获的数据显示的 font-display: auto; src: url(\\\"data:font/woff2;charset=utf-8;base64, image

ios无法显示,截获的数据显示的url后面少了引号 font-display: auto; src: url(data:font/woff2;charset=utf-8;base64,
image

不过后面将前后的引号手动替换了上去也不行

Testcase Gist URL

No response

Additional Information

No response

qqccyv avatar Jun 23 '22 05:06 qqccyv

这个你可以通过insertStyleRules那个方法自己把样式写进去 我就是这样 也是icon的图标显示异常 后来手动加了就好了

ywhniubi avatar Jun 26 '22 17:06 ywhniubi

这个你可以通过insertStyleRules那个方法自己把样式写进去 我就是这样 也是icon的图标显示异常 后来手动加了就好了

感谢!最后我也是直接写了个style插入进去搞好的。

qqccyv avatar Jun 27 '22 08:06 qqccyv

请问有配置可以参考吗?我也遇到这个问题

zjjjjjjjjjjd avatar Apr 19 '24 07:04 zjjjjjjjjjjd