diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 15f9cf34..ad9c4f46 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -156,6 +156,7 @@ ], //显示所有按钮, }) let visible = ref(false) + const jjssType = ref(router.currentRoute.value.query.type) const pagination = ref({ total: 0, current: 1, @@ -177,7 +178,12 @@ }) const showMap = ref(true) onMounted(() => { - tabClick(0, '视频资源') + if (jjssType.value) { + tabClick(0, jjssType.value) + } else { + tabClick(0, '视频资源') + } + getCamera() mybus.off('getListByParentId') mybus.on('getListByParentId', (parentId) => { diff --git a/front/src/views/newHome/components/CapabilityConvergence.vue b/front/src/views/newHome/components/CapabilityConvergence.vue index 57b1bf60..014021ee 100644 --- a/front/src/views/newHome/components/CapabilityConvergence.vue +++ b/front/src/views/newHome/components/CapabilityConvergence.vue @@ -37,8 +37,9 @@