From 4d9b7dcd147a97135c4cdca281deff650be4b7f3 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Thu, 11 Aug 2022 09:40:39 +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