fixed sctoll top per page change
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
export default defineNuxtRouteMiddleware((to, from) => {
|
||||
if (to.path !== from.path && process.client) {
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user