From 0f20cc11e3033b2d9b97fa01840daeea8940e5af Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 26 Jan 2026 09:06:42 +0800
Subject: [PATCH] feat:更新飞手信息
---
applications/task-work-order/src/components/map-container/common-cesium-map.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/applications/task-work-order/src/components/map-container/common-cesium-map.vue b/applications/task-work-order/src/components/map-container/common-cesium-map.vue
index 02eb8e5..f7773f7 100644
--- a/applications/task-work-order/src/components/map-container/common-cesium-map.vue
+++ b/applications/task-work-order/src/components/map-container/common-cesium-map.vue
@@ -79,7 +79,6 @@
})
viewer.value = viewInstance.value.getViewer()
if (props.showAdminBoundary) {
- console.log(props.zoomToBoundary,'props.zoomToBoundary')
adminBoundarySources = await loadJaAdminBoundary(viewer.value, {
zoomTo: props.zoomToBoundary,
})
@@ -124,8 +123,9 @@
const getMap = () => ({ viewer: viewer.value, publicCesium: viewInstance.value })
const getViewer = () => viewer.value
const getPublicCesium = () => viewInstance.value
+const flyBoundary = () => adminBoundarySources.flyBoundary()
-defineExpose({ getMap, getViewer, getPublicCesium })
+defineExpose({ getMap, getViewer, getPublicCesium,flyBoundary })
</script>
<style scoped lang="scss">
--
Gitblit v1.9.3