From 6f0c1938dff15c1625d97368786d2e93e293c32b Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 27 Dec 2024 14:46:23 +0800
Subject: [PATCH] 应急空间点位增加可编辑
---
src/store/map.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/store/map.js b/src/store/map.js
index aa6b585..df33c1a 100644
--- a/src/store/map.js
+++ b/src/store/map.js
@@ -2,7 +2,7 @@
* @Author: shuishen 1109946754@qq.com
* @Date: 2024-10-28 18:24:16
* @LastEditors: shuishen 1109946754@qq.com
- * @LastEditTime: 2024-11-19 18:03:04
+ * @LastEditTime: 2024-12-27 14:09:03
* @FilePath: \bigScreen\src\store\map.js
* @Description:
*
@@ -15,7 +15,8 @@
// 存储状态的地方,相当于 Vuex 的 state
state: () => ({
loadMap: false,
- pointHeight: 64
+ pointHeight: 64,
+ editPoint: false,
}),
// 相当于 Vuex 的 getters,用于计算状态
@@ -28,5 +29,9 @@
setLoadMap (flag) {
this.loadMap = flag
},
+
+ setEditPoint (flag) {
+ this.editPoint = flag
+ }
}
})
\ No newline at end of file
--
Gitblit v1.9.3