From e40efaf30ed741e8c3a55386f3fec2dfb623e626 Mon Sep 17 00:00:00 2001 From: gaoyuanwei <2826352639@qq.com> Date: Thu, 7 Jul 2022 20:00:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BDbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/infrastructurePage.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 = () => {