Cheng 3 年 前
コミット
d781c9fe3d
1 ファイル変更6 行追加1 行削除
  1. 6 1
      src/views/layout/index.vue

+ 6 - 1
src/views/layout/index.vue

@@ -23,7 +23,7 @@
                   <i class="el-icon-coordinate"></i>
                   <span slot="title">其他系统管理员管理</span>
             </el-menu-item> -->
-            <el-menu-item index="client" v-if="$permission('/admin/client')">
+            <el-menu-item index="client">
               <i class="el-icon-film"></i>
               <span slot="title">租户管理</span>
             </el-menu-item>
@@ -140,6 +140,11 @@ export default {
         this.$store.commit('SET_ADMIN_PERMISSION', JSON.stringify(JSON.parse(response.data).data))
       console.log(JSON.stringify(JSON.parse(response.data).data))
       })
+    },
+    getSelect() {
+      this.$api.getDict().then(response => {
+      localStorage.TENANT_TYPE = JSON.stringify(response.data.TENANT_TYPE)
+    })
   },
     handleSelect(index, path) {
       this.$router.push({