From 76766991b5e2fd5c7e85fdb1c8323f4dbacb4eb3 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 17 八月 2021 17:15:05 +0800
Subject: [PATCH] 2021-08-17

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

diff --git a/src/menu/components/share/actioncomponent/actionform/index.jsx b/src/menu/components/share/actioncomponent/actionform/index.jsx
index 26122e5..1559e72 100644
--- a/src/menu/components/share/actioncomponent/actionform/index.jsx
+++ b/src/menu/components/share/actioncomponent/actionform/index.jsx
@@ -38,6 +38,7 @@
     funcType: null,  // 鍔熻兘绫诲瀷
     procMode: null,  // 鍙傛暟鏂瑰紡
     pageTemplate: null,
+    appType: sessionStorage.getItem('appType'),
     Ot: null,
     requireOptions: [{
       value: 'notRequired',
@@ -174,6 +175,8 @@
         } else if (_intertype === 'inner') {
           _options.push('innerFunc')
         }
+      } else if (_funcType === 'mkBinding' || _funcType === 'mkUnBinding') {
+        _options.push('execSuccess', 'execError')
       }
     } else if (_opentype !== 'popview' && _opentype !== 'tab') {
       if (_intertype === 'custom') {
@@ -193,7 +196,13 @@
     }
 
     if (_Ot !== 'notRequired' && _opentype !== 'excelOut') {
-      _options.push('controlField', 'controlVal')
+      if (this.state.appType === 'mob') {
+        if (_opentype !== 'funcbutton') {
+          _options.push('controlField', 'controlVal')
+        }
+      } else {
+        _options.push('controlField', 'controlVal')
+      }
     }
     if (_Ot === 'requiredSgl' && ['pop', 'prompt', 'exec'].includes(_opentype)) {
       _options.push('swipe')

--
Gitblit v1.8.0