From 4f17bed94c1d548a38486f8e35f011de896f873b Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 05 Aug 2022 16:24:09 +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