From 6def3330d1d1cf4036916ed04c8bbc4128e1e5d0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期日, 03 五月 2020 19:42:17 +0800 Subject: [PATCH] 2020-05-03 --- src/templates/zshare/createinterface/index.jsx | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/createinterface/index.jsx b/src/templates/zshare/createinterface/index.jsx index 568bd34..d48bd8b 100644 --- a/src/templates/zshare/createinterface/index.jsx +++ b/src/templates/zshare/createinterface/index.jsx @@ -119,11 +119,14 @@ Ltextsearchparam: _search.join(' union all '), AppendWhere: config.setting.queryType === 'query' ? searchText.join(' AND ') : '', WhereType: config.setting.queryType === 'statistics' ? 'Statistics' : 'query', + custom_script: config.setting.customScript || '', + // default_sql: config.setting.default || 'true', OrderCol: config.setting.order } param.Ltextsearchparam = Utils.formatOptions(param.Ltextsearchparam) param.AppendWhere = Utils.formatOptions(param.AppendWhere) + param.custom_script = Utils.formatOptions(param.custom_script) this.setState({ type: 'out', -- Gitblit v1.8.0