lint:fix all
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
<template>
|
||||
<UTabs :items="tabItems" class="w-full" :unmount-on-hide="false" variant="link">
|
||||
<template v-for="item in tabItems" #[item.slot]="{ item: slotItem }">
|
||||
<UTabs
|
||||
:items="tabItems"
|
||||
class="w-full"
|
||||
:unmount-on-hide="false"
|
||||
variant="link"
|
||||
>
|
||||
<template
|
||||
v-for="item in tabItems"
|
||||
#[item.slot]="{ item: slotItem }"
|
||||
>
|
||||
<div class="mt-4">
|
||||
<component :is="getSlotContent(slotItem)" />
|
||||
</div>
|
||||
@@ -38,4 +46,4 @@ function getSlotContent(item: TabsItem) {
|
||||
if (!item.slot) return null
|
||||
return slotContents.value[item.slot]
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user