From c7a16ca1b6fbcb0b82a4a09c2e75014624082e37 Mon Sep 17 00:00:00 2001
From: Riku <risaku@163.com>
Date: 星期四, 27 三月 2025 22:45:48 +0800
Subject: [PATCH] 修复走航融合功能bug
---
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