Forráskód Böngészése

后台退出登录跳转

zhanghao 3 hónapja
szülő
commit
232bac246a
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      src/layout/components/Navbar.vue

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

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