canvas 2d 安卓手机赋值canvas.height 和canvas.width 卡住执行?
async setOption(option){
console.log("进入setOption")
const canvas = this.canvas
const layerList = option.layerList
// 设置画布宽高
canvas.width = option.width * this.dpr
canvas.height = option.height * this.dpr
console.log("设置画布宽高")
}
安卓手机执行结果
iPhone