微信小游戏截屏透明(解决)

直接 cc.game.canvas.toTempFilePathSync
ts 可以忽略报错
或是 let canvas: any = cc.game.canvas
再 canvas.toTempFilePathSync

不过这个无法截取指定节点