摘要: let width = canvas.width,height=canvas.height;if (window.devicePixelRatio) { canvas.style.width = width + "px"; canvas.style.height = height + "px"; c 阅读全文
posted @ 2017-11-18 17:16 lyls 阅读(4727) 评论(0) 推荐(0) 编辑