wangyi
2026-01-19 7fb0a8f0ab16c149484bf043754cd10cfa94de2f
src/layout/components/Navbar.vue
@@ -25,9 +25,9 @@
          <i class="el-icon-caret-bottom" />
        </div>
        <el-dropdown-menu slot="dropdown">
          <router-link to="/user/profile">
          <!-- <router-link to="/user/profile">
            <el-dropdown-item>个人中心</el-dropdown-item>
          </router-link>
          </router-link> -->
          <el-dropdown-item @click.native="setLayout" v-if="setting">
            <span>布局设置</span>
          </el-dropdown-item>
@@ -99,7 +99,7 @@
        cancelButtonText: '取消',
        type: 'warning'
      }).then(() => {
        this.$store.dispatch('LogOut').then(() => {
        this.$store.dispatch('FedLogOut').then(() => {
          location.href = '/index'
        })
      }).catch(() => { })