这里直接提示我getContext for canvas 2d is not yet supported
现在已经不支持使用canvas.getContext(‘2d’)了吗
检查下 canvas 的 type,type=“webgl” 只能 getContext(‘webgl’) type=“2d” 只能 getContext(‘2d’)