This commit is contained in:
X1627315083
2024-04-19 13:09:14 +08:00
parent d560c5ab09
commit 727968548b
4 changed files with 3 additions and 4 deletions

View File

@@ -157,7 +157,7 @@ router.beforeEach((to, from, next) => {
if (isMurmur && murmurStr && token) {
const toName = to.name === 'login';
if (toName) {
next({ name: 'homePage' });
next({ name: '/homePage' });
} else {
next();
}