ctx.drawImage('../../../../page/home/resources/pic/che_logo.png', 10, 435, 50,50); 本地图片要根路径 转载于:https://www.cnblogs.com/dianzan/p/10789646.html