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

</script>

<template>
  <AppCol :visible="visible" :layoutOpts="layoutOpts" noRoot>
    <template #default="{ slotClass, slotStyle }">
      <a-tabs v-model:activeKey="activeKey" :class="slotClass" :style="slotStyle">
        <slot></slot>
      </a-tabs>
    </template>
  </AppCol>
</template>