feat: improve hash target scroll y

This commit is contained in:
Justineo
2021-10-21 00:43:25 +08:00
parent 0836c8576d
commit 6dae7ca6c1

View File

@@ -11,7 +11,7 @@ export default async function scrollBehavior (to) {
return {
selector: decodeURIComponent(to.hash),
offset: {
y: 32
y: 120
}
}
}