From b91c28df2f734b680198e755b7828666e238cea0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 21 六月 2024 16:43:44 +0800 Subject: [PATCH] Merge branch 'develop' --- src/mob/searchconfig/index.jsx | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/mob/searchconfig/index.jsx b/src/mob/searchconfig/index.jsx index e943736..2f7454c 100644 --- a/src/mob/searchconfig/index.jsx +++ b/src/mob/searchconfig/index.jsx @@ -223,7 +223,7 @@ return } - if (['checkcard'].includes(res.type) && res.resourceType === '1' && /\s/.test(res.dataSource)) { + if (['checkcard'].includes(res.type) && res.resourceType === '1' && res.database !== 'sso' && /\s/.test(res.dataSource)) { this.setState({ sqlVerifing: true }) @@ -232,12 +232,7 @@ ${res.dataSource}` sql = sql.replace(/@\$|\$@/ig, '') - let rduri = '' - if (window.GLOB.mainSystemApi && res.database === 'sso') { - rduri = window.GLOB.mainSystemApi - } - - Api.sDebug(sql, rduri).then(result => { + Api.sDebug(sql).then(result => { if (result.status || result.ErrCode === '-2') { this.setState({ sqlVerifing: false, @@ -537,7 +532,7 @@ <Modal title="缂栬緫" visible={this.state.visible} - width={850} + width={950} onCancel={this.editModalCancel} onOk={this.handleSubmit} confirmLoading={this.state.sqlVerifing} -- Gitblit v1.8.0