Explorar o código

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

xusl hai 2 meses
pai
achega
26fafe7377
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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(() => {});
     }