From eea3561b954517a84ed996afbebafa1291fe209b Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 26 九月 2022 18:11:36 +0800
Subject: [PATCH] 2022-09-26

---
 src/tabviews/zshare/mutilform/index.jsx  |    2 +-
 src/templates/zshare/modalform/index.jsx |    2 +-
 src/tabviews/formtab/formgroup/index.jsx |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/formtab/formgroup/index.jsx b/src/tabviews/formtab/formgroup/index.jsx
index e03fbc1..53e2d67 100644
--- a/src/tabviews/formtab/formgroup/index.jsx
+++ b/src/tabviews/formtab/formgroup/index.jsx
@@ -132,7 +132,7 @@
         if (item.type === 'textarea' && item.encryption === 'true') {
           encrypts.push(item.field)
         }
-        if (item.interception === 'true') {
+        if (item.interception !== 'false') {
           intercepts.push(item.field)
         }
 
diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx
index 710d82e..81536d8 100644
--- a/src/tabviews/zshare/mutilform/index.jsx
+++ b/src/tabviews/zshare/mutilform/index.jsx
@@ -976,7 +976,7 @@
           } else if (_item.value && (item.type === 'text' || item.type === 'textarea' || item.type === 'linkMain') && typeof(_item.value) === 'string') {
             _item.value = _item.value.replace(/\t*|\v*/g, '')       // 鍘婚櫎鍒惰〃绗�
     
-            if (item.interception === 'true') {           // 鍘婚櫎棣栧熬绌烘牸
+            if (item.interception !== 'false') {           // 鍘婚櫎棣栧熬绌烘牸
               _item.value = _item.value.replace(/(^\s*|\s*$)/g, '')
             }
             if (item.type === 'text' && /@appkey@|@SessionUid@|@bid@/ig.test(_item.value)) { // 鐗规畩瀛楁鏇挎崲
diff --git a/src/templates/zshare/modalform/index.jsx b/src/templates/zshare/modalform/index.jsx
index 0865361..6a9fba9 100644
--- a/src/templates/zshare/modalform/index.jsx
+++ b/src/templates/zshare/modalform/index.jsx
@@ -41,7 +41,7 @@
   formula: ['label', 'type', 'marginTop', 'marginBottom', 'splitline', 'span', 'labelwidth', 'formula', 'eval', 'postfix'],
   brafteditor: ['required', 'hidelabel', 'hidden', 'readin', 'fieldlength', 'readonly', 'span', 'labelwidth', 'tooltip', 'extra', 'encryption', 'marginTop', 'marginBottom'],
   funcvar: ['span', 'labelwidth', 'splitline', 'marginTop', 'marginBottom'],
-  linkMain: ['readonly', 'required', 'hidden', 'fieldlength', 'span', 'labelwidth', 'tooltip', 'extra', 'marginTop', 'marginBottom']
+  linkMain: ['readonly', 'required', 'hidden', 'fieldlength', 'span', 'labelwidth', 'tooltip', 'interception', 'extra', 'marginTop', 'marginBottom']
 }
 
 class MainSearch extends Component {

--
Gitblit v1.8.0