随笔分类 -  bug问题解决方法

html2canvas 使用报错 : DOMException: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
摘要:由于标签中 div 的 宽度 小于1像素 报错, 解决方法可以改变对应div的 宽度,使其最小值不要小于 1像素。 阅读全文

posted @ 2020-12-18 09:59 刘飞fei 阅读(5275) 评论(1) 推荐(0)

导航