<script setup lang="ts">
import { ILayoutOpts } from '@core';
interface IProps {
  tabClass: string;
  caption?: string 
  name: string;
  layoutOpts: ILayoutOpts;
  visible: boolean;
  showCaption?: boolean
}
//  输入参数
const props = withDefaults(defineProps<IProps>(), {
  showCaption: true
});
</script>

<template>
  <a-tab-pane :class="tabClass" v-show="visible" :key="name">
    <AppRow :layoutOpts="layoutOpts">
      <slot></slot>  
    </AppRow>
  </a-tab-pane>
</template>