From 4f7d326b68c18ced8aeeb9bc538de7acdbcb8eb0 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 05 Aug 2022 14:49:41 +0800
Subject: [PATCH] 优化农资入库表单规格值1规格值2显示,优化退回,详情按钮位置

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