Cannot assign to read only property 'className' of object '#<SVGSVGElement>'

vue 导出 pdf 引用 html2canvas 报错

Cannot assign to read only property 'className' of object '#< SVGSVGElement >'

修改 package.json 中引用的 html2canvas 版本为 : 1.0.0-rc.1 ,不需添加 ^ 或 ~

posted @ 2020-04-28 15:20  Dylan_G  阅读(809)  评论(1编辑  收藏  举报