From 31fec3d2ce085c5b6494059915fc1b8d3a1198e1 Mon Sep 17 00:00:00 2001 From: zhujingzhou Date: Sun, 20 Jul 2025 14:46:30 +0700 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E5=AD=97=E7=AC=A6=E4=B8=B2=E5=85=BC?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowImg/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ShowImg/index.vue b/src/components/ShowImg/index.vue index 31a4f35..4b31701 100644 --- a/src/components/ShowImg/index.vue +++ b/src/components/ShowImg/index.vue @@ -53,7 +53,7 @@ export default { this.imgsUrl = [] const urls = [] if (typeof this.urls === 'string') { - urls.push(this.urls) + this.urls && urls.push(this.urls) } else if (Array.isArray(this.urls)) { urls.push(...this.urls) }