Refractor

This commit is contained in:
gowarezzz
2021-08-19 09:50:38 +07:00
parent 0e7e7b7d5f
commit 0f82dfdcba
441 changed files with 191 additions and 81002 deletions

View File

@@ -18,10 +18,10 @@ export function useSearchMeta(asPath: string) {
c = parts[4]
}
if (path !== pathname) setPathname(path)
setPathname(path)
if (c !== category) setCategory(c)
if (b !== brand) setBrand(b)
}, [asPath, pathname, category, brand])
}, [asPath])
return { pathname, category, brand }
}