From f489c412f7b0f7bf32d201bdbc6317c9c283e693 Mon Sep 17 00:00:00 2001 From: zhongshujie <2862698242@qq.com> Date: 星期一, 19 五月 2025 11:43:13 +0800 Subject: [PATCH] 会议优化以及旅游社英语组件 --- src/components/graffiti/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/components/graffiti/index.vue b/src/components/graffiti/index.vue index 902940e..c332154 100644 --- a/src/components/graffiti/index.vue +++ b/src/components/graffiti/index.vue @@ -150,7 +150,7 @@ imgData.setAttribute("crossOrigin", ""); } imgData.onload = () => { - this.context.drawImage(imgData, 0, 0, this.imgWidth, this.imgHeight); + this.context.drawImage(imgData, 0, 0, Math.min(window.innerWidth,this.imgWidth),this.imgHeight); }; }; resetCanvas(); @@ -336,6 +336,7 @@ display: flex; justify-content: space-around; align-items: center; + flex-wrap: wrap; height: 88px; } -- Gitblit v1.9.1