From bb584963c6abe77c5577cbcad3c9956b69444ae9 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期二, 01 七月 2025 17:17:30 +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