默认type类型的canvas 没有getImageData方法, type=“2d”的时候没有canvas.toTempFilePath方法, 官方能不能给个实现方向,别把门堵死的同时,在把窗户封了啊