From c27d57333ed38c92f595219d2190ea63cef4d182 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 12 一月 2021 18:29:16 +0800 Subject: [PATCH] 2021-01-12 --- src/templates/formtabconfig/index.jsx | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/templates/formtabconfig/index.jsx b/src/templates/formtabconfig/index.jsx index c6be862..eab6c34 100644 --- a/src/templates/formtabconfig/index.jsx +++ b/src/templates/formtabconfig/index.jsx @@ -613,6 +613,7 @@ let param = { func: 's_debug_sql', + exec_type: 'y', LText: res.dataSource } @@ -620,7 +621,7 @@ param.LText = Utils.formatOptions(param.LText) param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') - param.secretkey = Utils.encrypt(param.LText, param.timestamp) + param.secretkey = Utils.encrypt('', param.timestamp) if (window.GLOB.mainSystemApi && res.database === 'sso') { param.rduri = window.GLOB.mainSystemApi @@ -1469,6 +1470,7 @@ let param = { func: 's_debug_sql', + exec_type: 'y', LText: res.dataresource } @@ -1476,7 +1478,7 @@ param.LText = Utils.formatOptions(param.LText) param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') - param.secretkey = Utils.encrypt(param.LText, param.timestamp) + param.secretkey = Utils.encrypt('', param.timestamp) Api.getLocalConfig(param).then(result => { if (result.status) { -- Gitblit v1.8.0