From 545231cc08e10b40011a581afb6be5f27e85ab52 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 19 八月 2022 17:12:06 +0800 Subject: [PATCH] 2022-08-19 --- src/tabviews/zshare/topSearch/index.jsx | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/tabviews/zshare/topSearch/index.jsx b/src/tabviews/zshare/topSearch/index.jsx index 829e546..857e9f1 100644 --- a/src/tabviews/zshare/topSearch/index.jsx +++ b/src/tabviews/zshare/topSearch/index.jsx @@ -228,7 +228,7 @@ advanceValues, searchlist: _list }, () => { - if (!window.GLOB.mkHS && options.sysType === 'local' && !window.GLOB.systemType) { + if (!window.GLOB.mkHS && options.sysType === 'local' && window.GLOB.systemType !== 'production') { this.improveSimpleSearch(deForms) } else { this.improveSearch(mainItems, localItems) @@ -241,7 +241,7 @@ const { BID } = this.props let deffers = [] - if (!window.GLOB.mkHS && window.GLOB.systemType !== 'production') { + if (!window.GLOB.mkHS && options.sysType !== 'local') { localItems = [...localItems, ...mainItems] mainItems = [] } @@ -360,6 +360,10 @@ param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') param.secretkey = Utils.encrypt(param.LText, param.timestamp) + if (item.database === 'sso' && window.GLOB.mainSystemApi) { + param.rduri = window.GLOB.mainSystemApi + } + return ( new Promise(resolve => { setTimeout(() => { -- Gitblit v1.8.0