From 877200bd3f7e80b4e7f134b7f7df378f89de0484 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 10 十二月 2019 18:56:51 +0800 Subject: [PATCH] 2019-12-10 --- src/templates/modalconfig/index.jsx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/templates/modalconfig/index.jsx b/src/templates/modalconfig/index.jsx index 86da3d2..54ac9ba 100644 --- a/src/templates/modalconfig/index.jsx +++ b/src/templates/modalconfig/index.jsx @@ -481,7 +481,7 @@ handleSubmit = () => { this.formRef.handleConfirm().then(res => { let _config = JSON.parse(JSON.stringify(this.state.config)) - console.log(res) + if ((res.type === 'select' || res.type === 'link') && res.resourceType === '1') { let sql = 'select ' + res.valueField + ',' + res.valueText + ' from (' + res.dataSource + ')' if (res.orderBy) { -- Gitblit v1.8.0