From e785ccc9e6455762f872cf11a0e411012df5c302 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Mon, 2 Sep 2024 09:58:31 +0800 Subject: [PATCH 1/2] =?UTF-8?q?1.=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96=20sw?= =?UTF-8?q?s=202024-09-02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/layout/components/main/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/layout/components/main/index.vue b/src/views/layout/components/main/index.vue index 88d644f2..b4d302b0 100644 --- a/src/views/layout/components/main/index.vue +++ b/src/views/layout/components/main/index.vue @@ -15,7 +15,7 @@ -
+
已选组件({{ diy_data.length }})
@@ -293,7 +293,7 @@ const components = reactive([ }, ]); const url_computer = (name: string) => { - const new_url = ref(new URL(`../../../assets/images/layout/siderbar/${name}.png`, import.meta.url).href).value; + const new_url = ref(new URL(`../../../../../assets/images/layout/siderbar/${name}.png`, import.meta.url).href).value; return new_url; }; From b7bb44f8c893eee531ea8fda58b24fbecb8141b8 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Mon, 2 Sep 2024 09:58:52 +0800 Subject: [PATCH 2/2] =?UTF-8?q?1.=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96=20sw?= =?UTF-8?q?s=202024-09-02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/layout/components/main/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/layout/components/main/index.vue b/src/views/layout/components/main/index.vue index b4d302b0..68713c91 100644 --- a/src/views/layout/components/main/index.vue +++ b/src/views/layout/components/main/index.vue @@ -293,7 +293,7 @@ const components = reactive([ }, ]); const url_computer = (name: string) => { - const new_url = ref(new URL(`../../../../../assets/images/layout/siderbar/${name}.png`, import.meta.url).href).value; + const new_url = ref(new URL(`../../../../assets/images/layout/siderbar/${name}.png`, import.meta.url).href).value; return new_url; };