From c4e9d054916c3f085329a67c7664b4c54f9137f9 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 07 五月 2024 17:36:09 +0800 Subject: [PATCH] 完成折线图相关功能的迁移 --- 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