| src/views/Home/useMapAggregation/useMapAggregation.js | ●●●●● patch | view | raw | blame | history |
src/views/Home/useMapAggregation/useMapAggregation.js
@@ -422,6 +422,12 @@ } } /** * 根据条件获取项 * @param {Array} arr 数据源 * @param {Function} condition 条件 * @returns */ const findTypeItem = (arr, condition) => { return arr.find(item => condition(item)) } @@ -451,7 +457,6 @@ } if (deviceFind) { store.commit('setSingleUavHome', { id: '123' }) viewer.scene.postRender.addEventListener(labelBoxRender) } }