mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(@vant/cli): shoud scroll to top after routing (#9465)
This commit is contained in:
parent
6f93779834
commit
9123cf9784
@ -112,7 +112,7 @@ export const router = createRouter({
|
||||
return { el: to.hash };
|
||||
}
|
||||
|
||||
return { x: 0, y: 0 };
|
||||
return { top: 0 };
|
||||
},
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user