From 55a1b8402fd258da084df9b8a3935eef8450247c Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期日, 01 八月 2021 18:03:02 +0800
Subject: [PATCH] 2021-08-01

---
 src/menu/components/form/wrapsetting/settingform/index.jsx |   20 ++++++++++++++++----
 1 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/src/menu/components/form/wrapsetting/settingform/index.jsx b/src/menu/components/form/wrapsetting/settingform/index.jsx
index ea4257c..83e7804 100644
--- a/src/menu/components/form/wrapsetting/settingform/index.jsx
+++ b/src/menu/components/form/wrapsetting/settingform/index.jsx
@@ -128,7 +128,7 @@
                 )}
               </Form.Item>
             </Col>
-            <Col span={12}>
+            {config.subtype !== 'tabform' ? <Col span={12}>
               <Form.Item label={
                 <Tooltip placement="topLeft" title="琛ㄥ崟鍔犺浇鏃剁殑鐘舵�侊紝褰撳瓧娈靛�间笌琛ㄥ崟缁勭殑鐘舵�佸�间竴鑷存椂锛屽惎鐢ㄥ搴旂殑琛ㄥ崟缁勩��">
                   <Icon type="question-circle" />
@@ -146,7 +146,7 @@
                   </Select>
                 )}
               </Form.Item>
-            </Col>
+            </Col> : null}
             <Col span={12}>
               <Form.Item label={
                 <Tooltip placement="topLeft" title="鍔犺浇鏃舵槸鍚︽樉绀哄垎缁勫悕绉般��">
@@ -164,7 +164,19 @@
                 )}
               </Form.Item>
             </Col>
-            <Col span={12}>
+            {config.subtype === 'tabform' ? <Col span={12}>
+              <Form.Item label="鍒嗙粍椋庢牸">
+                {getFieldDecorator('tabtype', {
+                  initialValue: wrap.tabtype || 'mktab'
+                })(
+                  <Radio.Group>
+                    <Radio value="mktab">tab椤�</Radio>
+                    <Radio value="mkbtn">鎸夐挳缁�</Radio>
+                  </Radio.Group>
+                )}
+              </Form.Item>
+            </Col> : null}
+            {config.subtype !== 'tabform' ? <Col span={12}>
               <Form.Item label={
                 <Tooltip placement="topLeft" title="瀹屾垚鍚庣殑棰滆壊">
                   <Icon type="question-circle" />
@@ -177,7 +189,7 @@
                   <ColorSketch />
                 )}
               </Form.Item>
-            </Col>
+            </Col> : null}
             <Col span={12}>
               <Form.Item label="榛戝悕鍗�">
                 {getFieldDecorator('blacklist', {

--
Gitblit v1.8.0