let image = new Image()
image.src ="../../static/games/ship.png"
image.onload = () => {//app根本无法进入
ctx.drawImage(image, 0, 0, image.width, image.height)
}
ctx.drawImage(image, 0, 0, image.width, image.height)

2***@qq.com
- 发布:2024-01-26 16:28
- 更新:2024-01-26 16:28
- 阅读:180
0 个回复