From 730e3a29fd1bebdedc88cc4482e1139d5c8a7d75 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Wed, 21 Jan 2026 15:26:34 +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