隐藏购物车
This commit is contained in:
parent
4b4f94e6fd
commit
7dff7ce980
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user