From bbed6996be9dab76ed440548b302ebb43b6ec7e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E7=93=9C=C2=B0?= Date: Mon, 31 Mar 2025 13:48:47 +0800 Subject: [PATCH] test --- frontend/src/components/dnf/Equipment/Icon/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/dnf/Equipment/Icon/index.vue b/frontend/src/components/dnf/Equipment/Icon/index.vue index d55ea713..30c45d8c 100644 --- a/frontend/src/components/dnf/Equipment/Icon/index.vue +++ b/frontend/src/components/dnf/Equipment/Icon/index.vue @@ -2,7 +2,7 @@ @@ -39,11 +39,11 @@ const rarity = computed(()=>{ } }) -const getLocalImageURL = (url:string)=>{ - return new URL(url, import.meta.url).href +const getLocalImageURL = (rarity:string)=>{ + return new URL(`./rarity/${rarity}.png`, import.meta.url).href } - +``