fix: 解决安全入口跳转失败的问题 (#995)

This commit is contained in:
ssongliu 2023-05-10 23:28:18 +08:00 committed by GitHub
parent a1c0408aae
commit d5bff6473e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

@ -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'));

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 },