fixbug
This commit is contained in:
parent
36b1aa0bd9
commit
773562f74e
@ -245,7 +245,7 @@ const handleCarouselClick = (item, event) => {
|
||||
router.push({
|
||||
path: "/companyprofildetail",
|
||||
query: {
|
||||
titleNo: item.titleNo,
|
||||
title: item.title,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
@ -645,28 +645,29 @@ watch(
|
||||
<div class="tabs">
|
||||
<div
|
||||
class="tab-item"
|
||||
:class="{ active: currentTab === 'home' }"
|
||||
:class="{
|
||||
active: currentTab === 'home',
|
||||
}"
|
||||
@click="handleTabClick('home')"
|
||||
>
|
||||
{{ t("home.nav.home") }}
|
||||
</div>
|
||||
<div class="tabs">
|
||||
<div class="tab-item" :class="{ active: currentTab === 'home' }" @click="handleTabClick('home')">
|
||||
{{ t('home.nav.home') }}
|
||||
</div>
|
||||
<div class="tab-item" :class="{ active: currentTab === 'companyprofil' }" @click="handleTabClick('companyprofil')">
|
||||
{{ t('home.nav.company') }}
|
||||
</div>
|
||||
<div class="tab-item" :class="{ active: currentTab === 'businessintroduction' }" @click="handleTabClick('businessintroduction')">
|
||||
{{ t('home.nav.businessintroduction') }}
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
class="tab-item"
|
||||
:class="{ active: currentTab === 'businessintroduction' }"
|
||||
@click="handleTabClick('businessintroduction')"
|
||||
:class="{
|
||||
active: currentTab === 'companyprofil',
|
||||
}"
|
||||
@click="handleTabClick('companyprofil')"
|
||||
>
|
||||
{{ t("home.nav.business") }}
|
||||
{{ t("home.nav.company") }}
|
||||
</div>
|
||||
<div class="tab-item" :class="{
|
||||
active:
|
||||
currentTab === 'businessintroduction',
|
||||
}" @click="
|
||||
handleTabClick('businessintroduction')
|
||||
">
|
||||
{{ t("home.nav.businessintroduction") }}
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
Loading…
Reference in New Issue
Block a user