diff --git a/hb_client/src/components/customForm/index.vue b/hb_client/src/components/customForm/index.vue index 1f53593..7d5008a 100644 --- a/hb_client/src/components/customForm/index.vue +++ b/hb_client/src/components/customForm/index.vue @@ -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); }, // 叉号