Przeglądaj źródła

防止切换权限用户后登录出现404

RuoYi 4 lat temu
rodzic
commit
a691da0c97
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ruoyi-ui/src/layout/components/Navbar.vue

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

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