那个大牛 写的挺好的 使用 dom-to-image 插件 通过测试,还是建议使用html2canvas 这个插件。最好本地起个服务去测试 转载于:https://www.cnblogs.com/hellobeen/p/9919610.html