From 7af4b24b1ba687fa71fd3de398b570608d59a050 Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Mon, 22 Aug 2022 16:53:43 +0800
Subject: [PATCH] 不显示数量为0的产品
---
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