canvas.createImage is not a function?报错
draw:function(n){
var that=this;
let canvas = this.data.canvas;
let ctx = this.data.ctx;
let img=canvas.createImage();
img.src='temp[n]'
编译后提示canvas.createImage is not a function;