diff --git a/frontend/src/components/app-layout/menu/index.vue b/frontend/src/components/app-layout/menu/index.vue index 6ce056c5c..452ab29ff 100644 --- a/frontend/src/components/app-layout/menu/index.vue +++ b/frontend/src/components/app-layout/menu/index.vue @@ -18,7 +18,7 @@ popper-class="menu-popper" > - + @@ -77,12 +77,14 @@ const logout = () => { confirmButtonText: i18n.global.t('commons.button.confirm'), cancelButtonText: i18n.global.t('commons.button.cancel'), type: 'warning', - }).then(() => { - systemLogOut(); - router.push({ name: 'login' }); - globalStore.setLogStatus(false); - MsgSuccess(i18n.global.t('commons.msg.operationSuccess')); - }); + }) + .then(() => { + systemLogOut(); + router.push({ name: 'login' }); + globalStore.setLogStatus(false); + MsgSuccess(i18n.global.t('commons.msg.operationSuccess')); + }) + .catch(() => {}); }; const systemLogOut = async () => {