From f16acb06ab278cdcb1d39a29680634010638326d Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 08 五月 2024 17:35:48 +0800 Subject: [PATCH] 1. 完成表格模块的功能迁移; 2. 完成表格、折线图、地图标记三者点击联动 --- src/utils/map/index_old.js | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/utils/map/index_old.js b/src/utils/map/index_old.js index dbe9f78..69704ff 100644 --- a/src/utils/map/index_old.js +++ b/src/utils/map/index_old.js @@ -1,5 +1,8 @@ /* eslint-disable no-undef */ // import '@/lib/AMap'; +import { useToolboxStore } from '@/stores/toolbox'; + +const toolboxStore = useToolboxStore(); var mapInitDone = false; var onMapMountedEvents = []; @@ -58,6 +61,7 @@ satellite = new AMap.TileLayer.Satellite(); satellite.show(); map.add([satellite]); + toolboxStore.featuresStatus = true; _initControlbar(); // _initMouseTool(); @@ -73,6 +77,7 @@ } }); map.addControl(controlbar); + toolboxStore.controlbarStatus = true; } // 榧犳爣缁樺浘鍒濆鍖� -- Gitblit v1.9.3