From f749fe64d57ab41b7dddfa30df2f9542877197f1 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 09 Sep 2022 10:38:55 +0800
Subject: [PATCH] 绑定溯源列表跟随农场变化

---
 src/store/modules/common.js |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/store/modules/common.js b/src/store/modules/common.js
index d8cbec8..f4d3ab2 100644
--- a/src/store/modules/common.js
+++ b/src/store/modules/common.js
@@ -38,6 +38,9 @@
         setpolygonsFarm: (state, data) => {
             state.polygonsFarm = data;
         },
+        clear_polygon: (state) => {
+            state.polygons = '';
+        },
         clear_polygonsFarm: (state) => {
             state.polygonsFarm = '';
         },

--
Gitblit v1.9.3