From b4744510a44b2f59b7ecece75085d4b70da2b059 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 05 二月 2020 19:02:50 +0800
Subject: [PATCH] 2020-02-05

---
 src/tabviews/tableshare/mutilform/index.jsx |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/tabviews/tableshare/mutilform/index.jsx b/src/tabviews/tableshare/mutilform/index.jsx
index eecbb2d..c4ec170 100644
--- a/src/tabviews/tableshare/mutilform/index.jsx
+++ b/src/tabviews/tableshare/mutilform/index.jsx
@@ -588,20 +588,19 @@
                 key: key,
                 value: vals.join(',')
               })
-            } else if (this.state.datatype[key] === 'funcvar') {
+            } else if (this.state.datatype[key] === 'text') {
               search.push({
                 type: this.state.datatype[key],
                 readonly: this.state.readtype[key],
                 key: key,
-                value: values[key]
+                value: values[key].replace(/(^\s*|\s*$) | \t* | \v*/ig, '')
               })
             } else {
               search.push({
                 type: this.state.datatype[key],
                 readonly: this.state.readtype[key],
                 key: key,
-                value: values[key].replace(/(^\s*|\s*$)/ig, '')
-                // value: values[key].replace(/[\x00-\xff]+/ig, '')
+                value: values[key]
               })
             }
           })

--
Gitblit v1.8.0