Toast: fix background color

This commit is contained in:
陈嘉涵
2017-09-07 15:10:33 +08:00
parent ec749da9b8
commit 29f6fbbb66
4 changed files with 6 additions and 9 deletions

View File

@@ -29,9 +29,7 @@ router.beforeEach((route, redirect, next) => {
});
router.afterEach(() => {
if (!isMobile) {
window.scrollTo(0, 0);
}
window.scrollTo(0, 0);
window.syncPath();
});