From 764cb58899b8ca0e9632a5e83c6950569442c41c Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 02 Nov 2022 14:28:12 +0800
Subject: [PATCH] 图片更改

---
 src/store/modules/map.js |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/store/modules/map.js b/src/store/modules/map.js
index 4031a66..23eaa05 100644
--- a/src/store/modules/map.js
+++ b/src/store/modules/map.js
@@ -11,6 +11,9 @@
   state: {
     rotesData: false,
     pointData: false,
+    mapServiceValue: [],
+    deleteIndex: -1,
+    notSet: false,
   },
   //   actions: {
   //     FlowRoutes({commit}) {
@@ -25,6 +28,19 @@
   //     },
   //   },
   mutations: {
+    changeNotSet(state, data) {
+      state.notSet = data;
+    },
+    setMapServiceValue(state, data) {
+      state.mapServiceValue.push(data);
+    },
+    deleteMapServiceValue(state, index) {
+      state.deleteIndex = index;
+      state.mapServiceValue.splice(index, 1);
+    },
+    clearMapServiceValue(state, data) {
+      state.mapServiceValue = [];
+    },
     setRotesData(state, data) {
       state.rotesData = data;
     },

--
Gitblit v1.9.3