基础设施bug

This commit is contained in:
851673013@qq.com 2022-07-15 14:56:17 +08:00
parent acd4bdae9f
commit 8fda94f942
1 changed files with 8 additions and 5 deletions

View File

@ -414,11 +414,14 @@
// }
const getCamera = () => {
console.log('初始化调用')
getCameraByParentId(mapSearchParam.value).then((res) => {
console.log('RRRRRRRRRR', res.data.data)
dataSource.value = res.data.data
pagination.value.total = res.data.count
})
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
})
}
}
//
const addShoppingCart = () => {