mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
Toast: fix background color
This commit is contained in:
@@ -29,9 +29,7 @@ router.beforeEach((route, redirect, next) => {
|
||||
});
|
||||
|
||||
router.afterEach(() => {
|
||||
if (!isMobile) {
|
||||
window.scrollTo(0, 0);
|
||||
}
|
||||
window.scrollTo(0, 0);
|
||||
window.syncPath();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user