From bf772e586c29b4858366dbad143b1eaeca3c46ed Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 17 四月 2020 10:18:09 +0800
Subject: [PATCH] 2020-04-17

---
 src/tabviews/subtable/index.jsx |   12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/tabviews/subtable/index.jsx b/src/tabviews/subtable/index.jsx
index d73ae6f..2ee84a9 100644
--- a/src/tabviews/subtable/index.jsx
+++ b/src/tabviews/subtable/index.jsx
@@ -488,14 +488,12 @@
           param.rduri = setting.interface
         }
       } else {
-        if (setting.sysInterface === 'true') {
-          param.rduri = window.GLOB.mainSystemApi || window.GLOB.subSystemApi
-        } else {
+        if (setting.sysInterface === 'true' && window.GLOB.mainSystemApi) {
+          param.rduri = window.GLOB.mainSystemApi
+        } else if (setting.sysInterface !== 'true') {
           param.rduri = setting.interface
         }
       }
-
-      param.appkey = window.GLOB.appkey || '' // 璋冪敤澶栭儴鎺ュ彛澧炲姞appkey
 
       if (setting.outerFunc) {
         param.func = setting.outerFunc
@@ -518,8 +516,7 @@
       func: 'sPC_Get_TableData',
       obj_name: 'data',
       arr_field: arr_field,
-      BID: BID,
-      appkey: window.GLOB.appkey || ''
+      BID: BID
     }
 
     let _orderBy = orderBy || setting.order
@@ -836,6 +833,7 @@
             }
             <SubTable
               ref="subTable"
+              menuType={this.props.menuType}
               tableId={this.props.Tab.uuid}
               pickup={pickup}
               setting={setting}

--
Gitblit v1.8.0