602003139@qq.com
2021-10-21 2489c46a7ffe23a95da201a35c40424f2b79dba2
ruoyi-ui/src/layout/components/Navbar.vue
@@ -56,6 +56,7 @@
import Search from '@/components/HeaderSearch'
import RuoYiGit from '@/components/RuoYi/Git'
import RuoYiDoc from '@/components/RuoYi/Doc'
import config from '@/../vue.config'
export default {
  components: {
@@ -102,7 +103,7 @@
        type: 'warning'
      }).then(() => {
        this.$store.dispatch('LogOut').then(() => {
          location.href = '/index';
          location.href = config.publicPath + 'index';
        })
      }).catch(() => {});
    }