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 = () => {