From d717492e9ff7dfd56762e1c55a97081a502c871f Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Thu, 24 Mar 2022 11:58:37 +0800
Subject: [PATCH] +专题活动信息中选点bug+专题活动信息中字段补全
---
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