luobisheng
2022-11-29 4641a877cd6a94e4d35dca7f7f14bc1443e2d2ad
src/views/layout/components/AsideBar/index.vue
@@ -27,10 +27,7 @@
            {
              name: "基础设置", index: '/home/system/base', children: [
                {
                  name: '用户管理', index: '/home/system/userList',
                },
                {
                  name: '新增用户', index: '/home/system/createUser',
                  name: '用户管理', index: '/home/system/user',
                },
                {
                  name:'角色管理', index:'/home/system/role',
@@ -43,7 +40,14 @@
                }
              ]
            },
            { name: "平台设置", index: "/home/system/plateform", children: [] },
            { name: "平台设置", index: "/home/system/plateform", children: [
              {
                name:'门户设置',index:'/home/system/portalSetting'
              },
              {
                name:'第三方接口管理',index:'/home/system/otherInterface'
              }
            ] },
          ],
        }
      ],
@@ -65,11 +69,9 @@
      this.asideList = null;
      menu.forEach(item => {
        if (path.indexOf(item.name) !== -1) {
          console.log(item.children);
          that.asideList = item.children;
        }
      })
      console.log(this.asideList);
    },
    Jump(path) {
      this.$router.push(path);
@@ -100,7 +102,7 @@
    top: 0;
    left: 0;
    z-index: 999;
    box-shadow: 0 -5px 5px #0ff inset;
    // box-shadow: 0 -5px 5px #0ff inset;
  }
  .el-scrollbar {