1.选项卡优化

v1.0.0
sws 2024-10-08 16:59:18 +08:00
parent 49799714fe
commit 5f08c2b839
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@ const tabs_theme_style = computed(() => {
const title_style = (index: number) => {
//
let style = `${tabs_theme_style.value.tabs_title}`;
if (index == 0) {
console.log(index);
if (index == props.activeIndex) {
let checked_style = tabs_theme_style.value.tabs_title_checked;
if (['2', '4'].includes(tabs_theme_index.value)) {
checked_style += tabs_check.value;