This commit is contained in:
2025-07-30 18:45:57 +08:00
parent af7c50ecf4
commit 74559651d7
4 changed files with 10 additions and 11 deletions

View File

@@ -58,7 +58,7 @@
color="primary" color="primary"
type="single" type="single"
variant="pill" variant="pill"
trailingIcon="lucide:chevron-right" trailing-icon="lucide:chevron-right"
/> />
</div> </div>
</div> </div>

View File

@@ -47,8 +47,4 @@ function getSlotContent(item: TabsItem) {
if (!item.slot) return null if (!item.slot) return null
return slotContents.value[item.slot] return slotContents.value[item.slot]
} }
defineSlots<{
default: () => any
}>()
</script> </script>

View File

@@ -10,7 +10,10 @@
v-for="(slot, i) in $slots.default?.() ?? []" v-for="(slot, i) in $slots.default?.() ?? []"
:key="i" :key="i"
> >
<component :is="slot" :in-stack="true" /> <component
:is="slot"
:in-stack="true"
/>
</div> </div>
</ECard> </ECard>
</template> </template>

View File

@@ -14,11 +14,6 @@ export default defineNuxtConfig({
devtools: { devtools: {
enabled: true enabled: true
}, },
fonts: {
defaults: {
weights: ['300 800'],
}
},
css: ['~/assets/css/main.css'], css: ['~/assets/css/main.css'],
content: { content: {
@@ -61,6 +56,11 @@ export default defineNuxtConfig({
} }
} }
}, },
fonts: {
defaults: {
weights: ['300 800']
}
},
icon: { icon: {
clientBundle: { clientBundle: {