From f068c617b918fc7817c11724424cb1a9149ec3a2 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 09 一月 2020 16:51:10 +0800
Subject: [PATCH] 2020-01-09

---
 src/templates/comtableconfig/index.jsx |   30 ++++++++----------------------
 1 files changed, 8 insertions(+), 22 deletions(-)

diff --git a/src/templates/comtableconfig/index.jsx b/src/templates/comtableconfig/index.jsx
index 0e46a74..f4ab260 100644
--- a/src/templates/comtableconfig/index.jsx
+++ b/src/templates/comtableconfig/index.jsx
@@ -366,13 +366,6 @@
           tooltip: '瀛楁鍚嶅彲浠ヤ娇鐢ㄩ�楀彿鍒嗛殧锛岃繘琛屽瀛楁缁煎悎鎼滅储锛屾敞锛氱患鍚堟悳绱粎鍦ㄦ枃鏈被鍨嬫椂鏈夋晥',
           tooltipClass: 'middle',
           required: true,
-          rules: [{
-            pattern: /^[\u4E00-\u9FA50-9a-zA-Z,_-]*$/ig,
-            message: '瀛楁鍚嶅彧鍏佽鍖呭惈鏁板瓧銆佸瓧姣嶃�佹眽瀛椾互鍙奯-'
-          }, {
-            max: 50,
-            message: '瀛楁鍚嶆渶澶�50涓瓧绗︼紒'
-          }],
           readonly: false
         },
         {
@@ -675,14 +668,6 @@
           readonly: false
         },
         {
-          type: 'text',
-          key: 'callbackFunc',
-          label: this.state.dict['header.form.callbackFunc'],
-          initVal: card.callbackFunc,
-          required: false,
-          readonly: false
-        },
-        {
           type: 'select',
           key: 'position',
           label: this.state.dict['header.form.position'],
@@ -695,6 +680,14 @@
             value: 'grid',
             text: this.state.dict['header.form.grid']
           }]
+        },
+        {
+          type: 'text',
+          key: 'callbackFunc',
+          label: this.state.dict['header.form.callbackFunc'],
+          initVal: card.callbackFunc,
+          required: false,
+          readonly: false
         },
         {
           type: 'select',
@@ -813,13 +806,6 @@
             label: this.state.dict['header.form.field'],
             initVal: card.field,
             required: true,
-            rules: [{
-              pattern: /^[\u4E00-\u9FA50-9a-zA-Z_-]*$/ig,
-              message: '瀛楁鍚嶅彧鍏佽鍖呭惈鏁板瓧銆佸瓧姣嶃�佹眽瀛椾互鍙奯-'
-            }, {
-              max: 50,
-              message: '瀛楁鍚嶆渶澶�50涓瓧绗︼紒'
-            }],
             readonly: false
           },
           {

--
Gitblit v1.8.0