|
@@ -147,11 +147,10 @@ const entNameColor = computed(() => {
|
|
const getJobFairDetail = async () => {
|
|
const getJobFairDetail = async () => {
|
|
if (!query.jobFairId) return
|
|
if (!query.jobFairId) return
|
|
const { data } = await getJobFair(query.jobFairId)
|
|
const { data } = await getJobFair(query.jobFairId)
|
|
- // tab
|
|
|
|
- if (data?.tag?.length) {
|
|
|
|
- tabList.value = data?.tag || []
|
|
|
|
- if (tabList.value?.length) handClickTab(0)
|
|
|
|
- }
|
|
|
|
|
|
+ // 类型 -1为不传tag参数
|
|
|
|
+ tabList.value = data?.tag || []
|
|
|
|
+ handClickTab(tabList.value?.length ? 0 : -1)
|
|
|
|
+
|
|
// 轮播图
|
|
// 轮播图
|
|
if (data?.headImg?.length) {
|
|
if (data?.headImg?.length) {
|
|
swiperAdList.value = data.headImg
|
|
swiperAdList.value = data.headImg
|