tsayen / dom-to-image

Generates an image from a DOM node using HTML5 canvas
Other
10.23k stars 1.68k forks source link

代码在安卓机微信环境下不能正常工作 #305

Open yangqin007 opened 4 years ago

yangqin007 commented 4 years ago

toJpeg等方法在安卓机微信环境下报错。用toSvg方法得到svg字符串,再使用toDataUrl报同样的错。原因是svg中包含foreignObject。请问是否有解决办法

LiCeline commented 4 years ago

this project is not Chinese , do yo know?

luyaoluyao commented 4 years ago

toJpeg等方法在安卓机微信环境下报错。用toSvg方法得到svg字符串,再使用toDataUrl报同样的错。原因是svg中包含foreignObject。请问是否有解决办法

请问你解决这个问题了吗?怎么解决的?

bingozhu0197 commented 4 years ago

do you solve the issue now , or it is wechart problem?