From 6d61c46fd0a9a2e967a604519d9a6361694280dc Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 01 四月 2021 17:09:16 +0800
Subject: [PATCH] 2021-04-01

---
 src/tabviews/zshare/mutilform/index.jsx |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx
index 9d228e0..1efef2a 100644
--- a/src/tabviews/zshare/mutilform/index.jsx
+++ b/src/tabviews/zshare/mutilform/index.jsx
@@ -721,7 +721,7 @@
           <Col span={item.span || 24} key={index}>
             <Form.Item
               colon={!!item.label}
-              label={item.label || ' '}
+              label={item.label}
               labelCol={item.labelCol}
               wrapperCol={item.wrapperCol}
               className="hint"
@@ -1443,8 +1443,15 @@
   }
 
   render() {
+    const { action } = this.props
+
+    let _align = 'left_right'
+    if (action.setting && action.setting.align) {
+      _align = action.setting.align
+    }
+
     return (
-      <Form className="main-form-field" id="main-form-box">
+      <Form className={'main-form-field ' + _align} id="main-form-box">
         <Row gutter={24}>{this.getFields()}</Row>
       </Form>
     )

--
Gitblit v1.8.0