Compare commits

...
2 Commits
+1
View File
@@ -15,6 +15,7 @@ router.beforeEach((to, from, next) => {
if (to.name === 'entrance' && globalStore.isLogin) {
if (to.params.code === globalStore.entrance) {
globalStore.setLogStatus(false);
next({
name: 'entrance',
params: { code: globalStore.entrance },