From a140d8c8fc7576c7b136b7df2ab9fcfcd1edfbd1 Mon Sep 17 00:00:00 2001
From: xiebin <123456>
Date: Thu, 25 Aug 2022 14:55:14 +0800
Subject: [PATCH] 地图模式显示地块种养品种
---
src/store/modules/common.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/src/store/modules/common.js b/src/store/modules/common.js
index f486046..f4d3ab2 100644
--- a/src/store/modules/common.js
+++ b/src/store/modules/common.js
@@ -29,6 +29,7 @@
website: website,
//面的集和点
polygons: [],
+ polygonsFarm: ''
},
mutations: {
setpolygon: (state, data) => {
@@ -37,6 +38,12 @@
setpolygonsFarm: (state, data) => {
state.polygonsFarm = data;
},
+ clear_polygon: (state) => {
+ state.polygons = '';
+ },
+ clear_polygonsFarm: (state) => {
+ state.polygonsFarm = '';
+ },
SET_LANGUAGE: (state, language) => {
state.language = language
setStore({
--
Gitblit v1.9.3