隐藏购物车

This commit is contained in:
yuyongdong 2024-07-31 13:01:06 +08:00
parent 4b4f94e6fd
commit 7dff7ce980

View File

@ -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