From 3ad0e3e77c6e52597b0e21e48c2badadf582bfe4 Mon Sep 17 00:00:00 2001 From: "851673013@qq.com" <851673013@qq.com> Date: Mon, 18 Jul 2022 09:13:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E8=AE=BE=E6=96=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/infrastructurePage.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 52a511b2..cb792e31 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -415,13 +415,13 @@ const getCamera = () => { console.log('初始化调用') console.log('不选左侧树的时候不调用接口', mapSearchParam.value) - if (mapSearchParam.value.parentId) { - getCameraByParentId(mapSearchParam.value).then((res) => { - console.log('RRRRRRRRRR', res.data.data) - dataSource.value = res.data.data - pagination.value.total = res.data.count - }) - } + // if (mapSearchParam.value.parentId) { + getCameraByParentId(mapSearchParam.value).then((res) => { + console.log('RRRRRRRRRR', res.data.data) + dataSource.value = res.data.data + pagination.value.total = res.data.count + }) + // } } //加入申购车 const addShoppingCart = () => {