From 855250a9f4bf291a93723e26a8f02aaf2050021a Mon Sep 17 00:00:00 2001 From: jiwangyihao Date: Fri, 6 Jun 2025 00:32:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E4=BB=A5=E5=8C=85=E5=90=AB=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84=E5=B0=BE=E9=83=A8=E6=96=9C=E6=9D=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app.vue b/app.vue index 23a407c..f94e7f6 100644 --- a/app.vue +++ b/app.vue @@ -5,7 +5,9 @@ import Button from "primevue/button"; const path = computed(() => { return useRoute().path; }); -const sProgress = ref(["/", "/download"].includes(path.value) ? 1 : 0); +const sProgress = ref( + ["/", "/download", "/download/"].includes(path.value) ? 1 : 0 +); const scrollPanel = useTemplateRef("scrollPanel"); const sX = ref(0); const sY = ref(0); @@ -24,7 +26,7 @@ const handleScrollOrResize = () => { sWidth.value = el.getBoundingClientRect().width; sHeight.value = el.getBoundingClientRect().height; } - if (!["/", "/download"].includes(path.value)) { + if (!["/", "/download", "/download/"].includes(path.value)) { sProgress.value = 0; return; }