index.vue 524 Bytes
<template>
  <div class="dashboard-container">
    11111111
  </div>
</template>

<script>
export default {
  name: 'Dashboard',
  data () {
    return {
      currentRole: 'adminDashboard'
    }
  },
  computed: {
    // ...mapGetters([
    //   'roles'
    // ])
  },
  created () {
    // 可实现不同角色配置不同首页
    // if (!this.roles.includes('admin')) {
    //   this.currentRole = 'editorDashboard'
    // }
  },
  methods: {

  }
}
</script>
<style >
.dashboard-container {
  height: 100%;
}
</style>