Browse Source

fix 修复 超管切换租户后 点击个人中心报错

疯狂的狮子Li 2 năm trước cách đây
mục cha
commit
4ffb0acc35
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      ruoyi-ui/src/layout/components/Navbar.vue

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

@@ -48,7 +48,7 @@
           <i class="el-icon-caret-bottom" />
         </div>
         <el-dropdown-menu slot="dropdown">
-          <router-link to="/user/profile">
+          <router-link to="/user/profile" v-if="!dynamic">
             <el-dropdown-item>个人中心</el-dropdown-item>
           </router-link>
           <el-dropdown-item @click.native="setting = true">