From 6e106eb13ce404d9955d6c9045d21050d3e08294 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 20 十一月 2020 11:19:36 +0800
Subject: [PATCH] 2020-11-20

---
 src/templates/zshare/customscript/index.jsx |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/templates/zshare/customscript/index.jsx b/src/templates/zshare/customscript/index.jsx
index 5d2b774..61b6957 100644
--- a/src/templates/zshare/customscript/index.jsx
+++ b/src/templates/zshare/customscript/index.jsx
@@ -83,6 +83,7 @@
 
     let _usefulFields = []
     searches.forEach(item => {
+      if (!item.field) return
       if (item.type === 'group') {
         if (item.transfer === 'true') {
           _usefulFields.push(item.field)

--
Gitblit v1.8.0