From c7d469efc2bc11d2c54d2aafef90d16e27088eb8 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 02 Aug 2022 11:43:42 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/zhny_web

---
 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