bill 2 anni fa
parent
commit
9e90e1bc2e
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/layout/header.vue

+ 1 - 1
src/layout/header.vue

@@ -46,7 +46,7 @@ const menus = [
 const handlerMenuClick: MenuProps['onClick'] = async e => {
   if (e.key === 'logout') {
     await postLogout()
-    location.replace(mainURL)
+    location.replace(`${mainURL}/`)
   } else {
     location.href = `${mainURL}/#/information`
   }