mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🚸 100%时返回原图
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user