<template>
    <view v-if="showSolt">
        <slot></slot>
    </view>
</template>
<script>
import props from './prop.js'
export default {
    mixins: [props],
    name: 'm-tab-pane',
    inject: ["active"],
    computed: {
        showSolt() {
            return this.index == this.active.activeIndex
        }
    }
}
</script>
