<template>
    <div class="vote">
        <vote-list :channelId="channelInfo.id" :userId="userInfo.id" :type="type"></vote-list>
    </div>
</template>

<script>
    import {mapGetters} from 'vuex'
    import voteList from './vote/index'
    export default {
        components: {
            voteList
        },
        data(){
            return {
               
            }
        },
        computed: {
            ...mapGetters({
                'type': 'type',
                'channelInfo': 'channelInfo',
                'userInfo': 'userInfo',
            }),
        },
    }
</script>

<style lang="less" scoped>
    .vote{
        position: relative;
        height: 100%;
    }
</style>