From cc20b3cfe18b36c7b0f75937f88679eb031ecc6f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 14 八月 2023 13:41:20 +0800
Subject: [PATCH] 2023-08-14

---
 src/menu/components/share/actioncomponent/actionform/index.jsx |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx
index 260dedd..b79847b 100644
--- a/src/menu/components/share/actioncomponent/actionform/index.jsx
+++ b/src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -174,14 +174,16 @@
           shows.push('innerFunc')
         }
         if (this.record.callbackType === 'func') {
-          shows.push('callbackFunc')
+          shows.push('callbackFunc', 'output')
+        } else if (this.record.callbackType === 'script') {
+          shows.push('cbTable', 'output')
         } else if (this.record.callbackType !== 'none') {
           shows.push('cbTable')
         }
         reReadonly.interface = false
         reRequired.interface = true
       } else if (intertype === 'outer') {
-        shows.push('procMode', 'sysInterface', 'outerFunc', 'callbackType', 'output')
+        shows.push('procMode', 'sysInterface', 'outerFunc', 'callbackType')
         if (this.record.procMode === 'system') {
           shows.push('sql', 'sqlType')
         } else if (this.record.procMode === 'inner') {
@@ -189,7 +191,9 @@
           shows.push('innerFunc')
         }
         if (this.record.callbackType === 'func') {
-          shows.push('callbackFunc')
+          shows.push('callbackFunc', 'output')
+        } else if (this.record.callbackType === 'script') {
+          shows.push('cbTable', 'output')
         } else if (this.record.callbackType !== 'none') {
           shows.push('cbTable')
         }
@@ -800,6 +804,10 @@
             { pattern: formRule.func.pattern, message: formRule.func.message },
             { max: formRule.func.max, message: formRule.func.maxMessage }
           )
+        } else if (item.key === 'outerBlacklist') {
+          rules.push(
+            { max: 512, message: '鏈�澶�512涓瓧绗�' }
+          )
         } else if (item.key === 'output') {
           if (this.record.intertype === 'system' || ((this.record.intertype === 'outer' || this.record.intertype === 'custom') && this.record.callbackType === 'script')) {
             rules = [{

--
Gitblit v1.8.0