diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index b88cabc5..ab2478d5 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -341,12 +341,22 @@ }) console.log('选中的标签code', mapSearchParam.value) mapSearchParam.value.labelCodes = mapSearchParam.value.labelCodes + '' - if (name == '视频资源') { + let fatherName = ref('视频资源') + if (name == '视频资源' || name == '云资源' || name == '感知资源') { + fatherName.value == name + } + if (fatherName.value == '视频资源') { getCamera() } else { dataSource.value = [] pagination.value.total = 0 } + // if (name == '视频资源') { + // getCamera() + // } else { + // dataSource.value = [] + // pagination.value.total = 0 + // } } // 清空 const nullClick = () => {