From 0fd9e9a934d6d3c884230da976fe934589a117c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Mon, 13 Jan 2025 09:07:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20100%=E6=97=B6=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E5=8E=9F=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/app.ts b/src/store/modules/app.ts index a6b57262..2b906ea2 100644 --- a/src/store/modules/app.ts +++ b/src/store/modules/app.ts @@ -88,7 +88,7 @@ export const useAppStore = defineStore( } function getImageUrl(url: string): string { - if (url.endsWith(".gif")) return url; + if (url.endsWith(".gif") || imageQualityPercent.value === 100) return url; return `${url}?x-oss-process=image/format,jpg/quality,Q_${imageQualityPercent.value}`; }