From b77c5e22f1ff192d9b09dda8d2376ba40641451c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 06 八月 2020 12:06:50 +0800
Subject: [PATCH] 2020-08-06

---
 src/tabviews/zshare/topSearch/index.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/zshare/topSearch/index.jsx b/src/tabviews/zshare/topSearch/index.jsx
index b38f024..08caa46 100644
--- a/src/tabviews/zshare/topSearch/index.jsx
+++ b/src/tabviews/zshare/topSearch/index.jsx
@@ -459,7 +459,7 @@
         fields.push(
           <Col span={item.ratio || 6} key={index}>
             <Form.Item label={item.label} className={item.required === 'true' ? 'group-required' : ''}>
-              <DateGroup ref={item.uuid} card={item} onGroupChange={this.searchChange} />
+              <DateGroup ref={item.uuid} position={index} card={item} onGroupChange={this.searchChange} />
             </Form.Item>
           </Col>
         )
@@ -506,7 +506,7 @@
               value = ''
             }
           }
-        } else {
+        } else if (item.type !== 'group') {
           value = item.initval
         }
 

--
Gitblit v1.8.0