mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-02-23 14:24:03 +08:00
fix: 解决安全入口跳转失败的问题 (#995)
This commit is contained in:
parent
a1c0408aae
commit
d5bff6473e
2 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,6 @@ const onUpgrade = async () => {
|
|||
type: 'info',
|
||||
}).then(async () => {
|
||||
globalStore.isLoading = true;
|
||||
globalStore.setLogStatus(false);
|
||||
await upgrade(upgradeVersion.value);
|
||||
drawerVisiable.value = false;
|
||||
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));
|
||||
|
|
|
@ -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 },
|
||||
|
|
Loading…
Reference in a new issue