From 6c16e43cd6521460c804391c042348dbb14086fc Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 16 六月 2020 09:44:40 +0800
Subject: [PATCH] 2020-06-16

---
 src/templates/formtabconfig/dragelement/card.jsx |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/templates/formtabconfig/dragelement/card.jsx b/src/templates/formtabconfig/dragelement/card.jsx
index abc46da..e1014e1 100644
--- a/src/templates/formtabconfig/dragelement/card.jsx
+++ b/src/templates/formtabconfig/dragelement/card.jsx
@@ -79,11 +79,14 @@
   let wrapCol = 'ant-col-sm-16'
   if (card.type === 'textarea') {
     if (cols === '2') {
-      labelCol = 'ant-col-sm-4'
-      wrapCol = 'ant-col-sm-20'
+      labelCol = 'textarea-line ant-col-sm-4'
+      wrapCol = 'textarea-line ant-col-sm-20'
     } else if (cols === '3') {
-      labelCol = 'ant-col-cuslabel'
-      wrapCol = 'ant-col-cuswrap'
+      labelCol = 'textarea-line ant-col-cuslabel'
+      wrapCol = 'textarea-line ant-col-cuswrap'
+    } else if (cols === '4') {
+      labelCol = 'textarea-line ant-col-sm-2'
+      wrapCol = 'textarea-line ant-col-sm-22'
     }
   }
 

--
Gitblit v1.8.0