<template>
    <el-table
        ref="multipleTable"
        :stripe="stripe"
        :border="border"
        style="width: 100%"
        :cell-style="{ 'text-align': 'center' }"
        :header-cell-style="{ 'text-align': 'center' }"
        :fit="true"
        :pagination="false"
        size="mini"
        v-bind="$attrs"
        v-on="$listeners"
    >
        <slot></slot>
        <slot name="empty" slot="empty" v-if="$slots.empty"></slot>
    </el-table>
</template>

<script>
export default {
    name: "seTable",
    props: {
        stripe: {
            type: Boolean,
            default: true
        },
        border: {
            type: Boolean,
            default: false
        }
    },
    mounted() {
    },
    methods: {}
};
</script>

<style scoped lang="less">
/deep/ .el-table__footer-wrapper tbody td {
    text-align: center;
}

/deep/ .el-table__body-wrapper { // 表格数据发生变化时，未重新渲染问题
    overflow-y: auto;
}
</style>
