From 1b0fd0a20d54068f0f4716177780e00a75b860ef Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 10 一月 2020 17:12:34 +0800
Subject: [PATCH] 2020-01-10

---
 src/tabviews/tableshare/actionList/index.jsx |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/tableshare/actionList/index.jsx b/src/tabviews/tableshare/actionList/index.jsx
index 7e7a439..3957b61 100644
--- a/src/tabviews/tableshare/actionList/index.jsx
+++ b/src/tabviews/tableshare/actionList/index.jsx
@@ -317,7 +317,11 @@
                 delete res.message
                 delete res.status
   
-                res.rduri = btn.interface
+                if (btn.sysInterface === 'true') {
+                  res.rduri = window.GLOB.mainSystemApi || window.GLOB.subSystemApi
+                } else {
+                  res.rduri = btn.interface
+                }
                 // res.method = btn.method
                 if (btn.outerFunc) {
                   res.func = btn.outerFunc
@@ -331,7 +335,11 @@
             })
           } else {
             // 涓嶅瓨鍦ㄥ唴閮ㄥ嚱鏁版椂锛岀敓鎴愬閮ㄨ姹傚弬鏁�
-            param.rduri = btn.interface
+            if (btn.sysInterface === 'true') {
+              param.rduri = window.GLOB.mainSystemApi || window.GLOB.subSystemApi
+            } else {
+              param.rduri = btn.interface
+            }
             // param.method = btn.method
             if (btn.outerFunc) {
               param.func = btn.outerFunc
@@ -437,7 +445,11 @@
             delete res.message
             delete res.status
 
-            res.rduri = btn.interface
+            if (btn.sysInterface === 'true') {
+              res.rduri = window.GLOB.mainSystemApi || window.GLOB.subSystemApi
+            } else {
+              res.rduri = btn.interface
+            }
             // res.method = btn.method
             if (btn.outerFunc) {
               res.func = btn.outerFunc

--
Gitblit v1.8.0