From 7dff7ce980e247dd2ef166e2e4c12ffc052f299b Mon Sep 17 00:00:00 2001 From: yuyongdong Date: Wed, 31 Jul 2024 13:01:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E8=B4=AD=E7=89=A9=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/layout/NavBar.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/layout/NavBar.vue b/src/components/layout/NavBar.vue index e9668a2..6262c31 100644 --- a/src/components/layout/NavBar.vue +++ b/src/components/layout/NavBar.vue @@ -320,7 +320,7 @@ const closeCartBox = () => { watch(() => route.path,(newPath, oldPath) => { let routerPath = newPath.split('/') - if(routerPath[1] == 'marketplace' || routerPath[1] == 'assets' || routerPath[1] == 'detail' || routerPath[1] == 'notice') { + if(routerPath[1] == 'marketplace') { isCart.value = true } else { isCart.value = false