diff --git a/scripts/copy-h5-nav-assets.cjs b/scripts/copy-h5-nav-assets.cjs index cd1f0ca..f4349a0 100644 --- a/scripts/copy-h5-nav-assets.cjs +++ b/scripts/copy-h5-nav-assets.cjs @@ -44,6 +44,7 @@ const copyStaticSubtree = (subtree) => { copyStaticSubtree('nav-assets') copyStaticSubtree('guide-data') copyStaticSubtree('sgs-map-sdk') +copyStaticSubtree('three') if (fs.existsSync(faviconSource)) { fs.copyFileSync(faviconSource, faviconTarget) diff --git a/src/components/map/TencentMap.vue b/src/components/map/TencentMap.vue index 6cd1bcb..acb0b68 100644 --- a/src/components/map/TencentMap.vue +++ b/src/components/map/TencentMap.vue @@ -8,6 +8,7 @@ :scale="mapScale" :markers="markers" :polygons="polygons" + :polylines="displayPolylines" :show-location="!isH5" :enable-3D="false" :enable-overlooking="false" @@ -59,6 +60,7 @@ diff --git a/src/components/poi/POIMarker.vue b/src/components/poi/POIMarker.vue index a440393..0a70f41 100644 --- a/src/components/poi/POIMarker.vue +++ b/src/components/poi/POIMarker.vue @@ -17,7 +17,7 @@ interface Position { y: number } -const props = withDefaults(defineProps<{ +withDefaults(defineProps<{ position: Position label?: string type?: 'exhibit' | 'hall' | 'facility' | 'location' diff --git a/src/components/search/SearchBar.vue b/src/components/search/SearchBar.vue index e6b5e2f..e1b8c9d 100644 --- a/src/components/search/SearchBar.vue +++ b/src/components/search/SearchBar.vue @@ -30,7 +30,7 @@