<template>
  <div class="version-info">
    <d-tabs class="jyh-tabs jyh-tabs-2 jyh-tabs-4" type="wrapped" v-model="selectTab">
      <d-tab id="gryj" title="个人订阅列表"></d-tab>
      <d-tab id="zzyj" title="组织订阅列表"></d-tab>
    </d-tabs>
    <OrgSubscription v-if="selectTab === 'zzyj'" />
    <PersonageSubscription v-else />
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import OrgSubscription from './OrgSubscription.vue';
import PersonageSubscription from './PersonageSubscription.vue';
const selectTab = ref('gryj');
</script>

<style scoped lang="scss">
@import 'devui-theme/styles-var/devui-var.scss';
</style>
