소스 검색

退出登录时浏览器地址去掉index字样,不然影响windy访问

xusl 2 달 전
부모
커밋
26fafe7377
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cpp-ui/src/layout/components/Navbar.vue

+ 1 - 1
cpp-ui/src/layout/components/Navbar.vue

@@ -102,7 +102,7 @@ export default {
         type: 'warning'
       }).then(() => {
         this.$store.dispatch('LogOut').then(() => {
-          location.href = '/index';
+          location.href = '/';
         })
       }).catch(() => {});
     }