Blame view

antis-ncc-admin/src/views/dashboard/index.vue 599 Bytes
03207d5d   wwk   1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
  <template>
    <el-scrollbar class="dashboard-container">
      <component :is="currentRole" />
    </el-scrollbar>
  </template>
  
  <script>
  import adminDashboard from './admin'
  
  export default {
    name: 'Dashboard',
    components: { adminDashboard },
    data() {
      return {
        currentRole: 'adminDashboard'
      }
    }
  }
  </script>
  <style lang="scss" scoped>
  .dashboard-container {
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    >>> .el-scrollbar__wrap {
      margin-bottom: 0 !important;
      overflow-x: auto;
    }
    >>> .el-scrollbar__bar.is-horizontal > div {
      display: none;
    }
  }
  </style>