From 198b50b90cdb00ccadd982d26dd0f3c9fcb9fa0b Mon Sep 17 00:00:00 2001 From: shijing Date: Sat, 7 May 2022 15:40:18 +0800 Subject: [PATCH] 0507 --- hb_client/src/components/customForm/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); }, // 叉号