From 2ed2188bb01fa321177125917102e5f664497d2a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 12 八月 2020 16:41:25 +0800 Subject: [PATCH] 2020-08-12 --- src/tabviews/zshare/mutilform/index.jsx | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/tabviews/zshare/mutilform/index.jsx b/src/tabviews/zshare/mutilform/index.jsx index 00a1445..3926e06 100644 --- a/src/tabviews/zshare/mutilform/index.jsx +++ b/src/tabviews/zshare/mutilform/index.jsx @@ -284,6 +284,7 @@ obj_name: 'data', arr_field: item.arr_field } + let isSSO = item.database === 'sso' if (this.props.BID) { param.BID = this.props.BID @@ -294,11 +295,13 @@ if (this.props.menuType === 'HS') { // 浜戠鏁版嵁楠岃瘉 param.open_key = Utils.encrypt(param.secretkey, param.timestamp, true) + } else if (window.GLOB.systemType !== 'production') { + isSSO = false } deffers.push( new Promise(resolve => { - Api.getSystemCacheConfig(param, item.database === 'sso').then(res => { + Api.getSystemCacheConfig(param, isSSO).then(res => { res.$search = item resolve(res) }) -- Gitblit v1.8.0