From d2e2df7c4805cc9c5e4e915202f304e0e9a53758 Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 23 May 2025 09:49:31 +0800
Subject: [PATCH] 临川优化
---
src/store/map.js | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/src/store/map.js b/src/store/map.js
index 32296b1..df33c1a 100644
--- a/src/store/map.js
+++ b/src/store/map.js
@@ -1,10 +1,22 @@
+/*
+ * @Author: shuishen 1109946754@qq.com
+ * @Date: 2024-10-28 18:24:16
+ * @LastEditors: shuishen 1109946754@qq.com
+ * @LastEditTime: 2024-12-27 14:09:03
+ * @FilePath: \bigScreen\src\store\map.js
+ * @Description:
+ *
+ * Copyright (c) 2024 by shuishen, All Rights Reserved.
+ */
// src/stores/useUserStore.js
import { defineStore } from 'pinia'
export const useMap = defineStore('map', {
// 存储状态的地方,相当于 Vuex 的 state
state: () => ({
- loadMap: false
+ loadMap: false,
+ pointHeight: 64,
+ editPoint: false,
}),
// 相当于 Vuex 的 getters,用于计算状态
@@ -17,5 +29,9 @@
setLoadMap (flag) {
this.loadMap = flag
},
+
+ setEditPoint (flag) {
+ this.editPoint = flag
+ }
}
})
\ No newline at end of file
--
Gitblit v1.9.3