瀏覽代碼

fix: 修改bug

bill 2 年之前
父節點
當前提交
9e90e1bc2e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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`
   }