<template>
  <div class="container">
    <Board v-if="!hiddenBoardList.includes(access)"></Board>
  </div>
</template>

<script>
import Board from '_c/board/board'
export default {
  name: 'home',
  components: {
    Board
  },
  data () {
    return {
      access: this.$store.state.user.access,
      hiddenBoardList: ['supplier'] // 不显示首页看板的角色
    }
  },
  mounted () {
    /* 供应商默认跳转位置 */
    // if (this.access === 'supplier') {
    //   this.$router.push('provider_shipment_manage')
    // }
  }
}
</script>

<style lang="less" scoped>
.container {
  height: 100%;
  overflow: hidden;
}
.count-style{
  font-size: 50px;
}
</style>
