From 9b62e251e97a9ce51daf3d3158badcadba6ef4f1 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 09 Sep 2022 16:24:06 +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