vuetify升级至3.6.8后,设定中tab的选中样式改变,修复为原版选中样式

This commit is contained in:
Allen
2024-05-31 13:00:35 +08:00
parent 3321427eb4
commit 16abc65f49
+1 -1
View File
@@ -79,7 +79,7 @@ function jumpTab(tab: string) {
<template> <template>
<div> <div>
<VTabs v-model="activeTab" show-arrows class="v-tabs-pill"> <VTabs v-model="activeTab" show-arrows class="v-tabs-pill">
<VTab v-for="item in tabs" :key="item.icon" :value="item.tab" @click="jumpTab(item.tab)"> <VTab v-for="item in tabs" :key="item.icon" :value="item.tab" @click="jumpTab(item.tab)" selected-class="v-slide-group-item--active v-tab--selected">
<VIcon size="20" start :icon="item.icon" /> <VIcon size="20" start :icon="item.icon" />
{{ item.title }} {{ item.title }}
</VTab> </VTab>