Merge pull request #139 from hotlcc/develop-20240531

vuetify升级至3.6.8后,设定中tab的选中样式改变,修复为原版选中样式
This commit is contained in:
jxxghp
2024-05-31 14:10:36 +08:00
committed by GitHub

View File

@@ -79,7 +79,7 @@ function jumpTab(tab: string) {
<template>
<div>
<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" />
{{ item.title }}
</VTab>