From 72419e2f826031a158173f46d723a672064e37cd Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 31 八月 2021 22:42:51 +0800
Subject: [PATCH] 2021-08-31

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

diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx
index 1e55d87..58d7a25 100644
--- a/src/menu/components/share/actioncomponent/actionform/index.jsx
+++ b/src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -169,7 +169,7 @@
       }
     } else if (_opentype === 'funcbutton') {
       if (_funcType === 'print') {
-        _options.push('execMode', 'intertype', 'Ot', 'execSuccess', 'execError', 'resetPageIndex')
+        _options.push('execMode', 'intertype', 'Ot', 'execSuccess', 'execError', 'resetPageIndex', 'controlField', 'controlVal')
         if (_intertype === 'outer') {
           _options.push('innerFunc', 'sysInterface', 'interface', 'proInterface', 'outerFunc', 'callbackFunc')
         } else if (_intertype === 'inner') {
@@ -177,6 +177,8 @@
         }
       } else if (_funcType === 'mkBinding' || _funcType === 'mkUnBinding') {
         _options.push('execSuccess', 'execError')
+      } else if (_funcType === 'closetab') {
+        _options.push('refreshTab')
       }
     } else if (_opentype !== 'popview' && _opentype !== 'tab') {
       if (_intertype === 'custom') {
@@ -196,14 +198,8 @@
       }
     }
 
-    if (_Ot !== 'notRequired' && _opentype !== 'excelOut') {
-      if (this.state.appType === 'mob') {
-        if (_opentype !== 'funcbutton') {
-          _options.push('controlField', 'controlVal')
-        }
-      } else {
-        _options.push('controlField', 'controlVal')
-      }
+    if (_Ot !== 'notRequired' && _opentype !== 'excelOut' && _opentype !== 'funcbutton') {
+      _options.push('controlField', 'controlVal')
     }
     if (_Ot === 'requiredSgl' && ['pop', 'prompt', 'exec'].includes(_opentype)) {
       _options.push('swipe')

--
Gitblit v1.8.0