This commit is contained in:
X1627315083
2024-01-15 17:36:24 +08:00
parent 214457a2f6
commit af500def80
2 changed files with 3 additions and 2 deletions

View File

@@ -97,6 +97,8 @@ router.beforeEach((to, from, next) => {
let isMurmur = JSON.parse(getIsMurmur)
if(isMurmur&& murmurStr){
const toName = to.name === 'login';
console.log(to);
if (toName) {
next({ name: 'home' });
} else {