多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
531 B

<script setup lang="ts">
import useTabs from '~/composables/useTabs'
const { tabs, activeTab } = useTabs()
</script>
<template>
<div>
<v-tabs v-model="activeTab" density="compact">
<v-tab v-for="(tab, i) in tabs" :key="i" :value="i">
{{ tab.title }}
</v-tab>
</v-tabs>
<v-window v-model="activeTab">
<v-window-item v-for="(tab, i) in tabs" :key="i" :value="i">
<TabsSmartsheet :tab-meta="tab" />
</v-window-item>
</v-window>
</div>
</template>
<style scoped></style>