模拟器获取WEBGL上下文返回null发布于 6 年前作者 yanxiao1540 次浏览最后编辑 6 年前来自 ask 就一行代码 canvas.getContext(‘webgl’) //null canvas.getContext(‘2d’) //正常