0507
This commit is contained in:
parent
d04acd4f52
commit
198b50b90c
|
@ -436,8 +436,8 @@
|
|||
draw(){
|
||||
let canvasImg = document.getElementById("canvasImg");
|
||||
canvasImg.setAttribute("crossOrigin",'anonymous');
|
||||
canvasImg.style.width = '500px';
|
||||
canvasImg.style.height = '300px';
|
||||
// canvasImg.style.width = '500px';
|
||||
// canvasImg.style.height = '300px';
|
||||
this.ctx.drawImage(canvasImg,0,0,500,300);
|
||||
},
|
||||
// 叉号
|
||||
|
|
Loading…
Reference in New Issue