getContext();
can1 = document.getElementById("canvas1");
ctx1 = can1.getContext();
console.log(ctx1); //为什么输出的是null , 导致后面也报错Cannot read property ' ' of null
can1 = document.getElementById("canvas1");
ctx1 = can1.getContext();
console.log(ctx1); //为什么输出的是null , 导致后面也报错Cannot read property ' ' of null
2016-12-21
举报