From 75623dd039b742dbb44fb4c6b4af563404ed9c7f Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 03 二月 2020 16:06:04 +0800
Subject: [PATCH] 2020-02-03

---
 src/tabviews/subtabtable/index.jsx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/subtabtable/index.jsx b/src/tabviews/subtabtable/index.jsx
index 7a3ac06..79c3949 100644
--- a/src/tabviews/subtabtable/index.jsx
+++ b/src/tabviews/subtabtable/index.jsx
@@ -181,6 +181,7 @@
       if (item.resourceType === '1' && item.dataSource) {
         let _option = Utils.getSelectQueryOptions(item)
         let _sql = Utils.formatOptions(_option.sql)
+        let isSSO = item.database === 'sso'
 
         let param = {
           func: 'sPC_Get_SelectedList',
@@ -193,7 +194,7 @@
         param.secretkey = Utils.encrypt(param.LText, param.timestamp)
 
         let defer = new Promise(resolve => {
-          Api.getSystemCacheConfig(param).then(res => {
+          Api.getSystemCacheConfig(param, isSSO).then(res => {
             res.search = item
             resolve(res)
           })

--
Gitblit v1.8.0