From 42f42dc88214f283b43c422f37e10ab45c5c5578 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 12 三月 2025 17:32:13 +0800
Subject: [PATCH] 1. 新增绘图模式的切换 2. 新增行政区划的切换展示

---
 src/components/map/MapScene.vue |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/components/map/MapScene.vue b/src/components/map/MapScene.vue
index 89a665c..38b1856 100644
--- a/src/components/map/MapScene.vue
+++ b/src/components/map/MapScene.vue
@@ -42,6 +42,8 @@
 import sceneInfoApi from '@/api/sceneInfoApi';
 import marks from '@/utils/map/marks';
 import MapUtil from '@/utils/map/util';
+import { useToolboxStore } from '@/stores/toolbox';
+import { mapStores } from 'pinia';
 
 const lableMarkMap = new Map();
 
@@ -56,10 +58,14 @@
       sceneMap: new Map()
     };
   },
+  computed: {
+    ...mapStores(useToolboxStore)
+  },
   watch: {
     // 褰撳垏鎹㈠尯鍘挎椂锛屾竻绌烘墍鏈夐�夐」
     districtCode(nV, oV) {
       if (nV != oV) {
+        this.toolboxStore.selectedDistrict = nV;
         this.handelCheckAllChange(false);
       }
     }

--
Gitblit v1.9.3