mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-10-14 00:00:37 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d5bff6473e | ||
|
|
a1c0408aae |
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user