From c7c0d8da90bb5673b804c2fb397d1a3ea3232f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 7 Mar 2020 01:24:53 +0800 Subject: [PATCH 1/9] true --- public/react/config/webpack.config.prod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/config/webpack.config.prod.js b/public/react/config/webpack.config.prod.js index 596843f5f..1fe7a6c93 100644 --- a/public/react/config/webpack.config.prod.js +++ b/public/react/config/webpack.config.prod.js @@ -326,8 +326,8 @@ module.exports = { comments: false }, compress: { - drop_debugger: false, - drop_console: false + drop_debugger: true, + drop_console: true } } }), From d4d83e800451853cfc159ba1926d41d4663cc9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Sat, 7 Mar 2020 20:57:18 +0800 Subject: [PATCH 2/9] =?UTF-8?q?=E8=B0=83=E6=95=B4oj=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E6=A0=A1=E9=AA=8Cissue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../developer/components/initTabCtx/index.js | 7 ++---- .../leftpane/editorTab/AddTestDemo.js | 2 +- .../newOrEditTask/leftpane/editorTab/index.js | 23 +++++++++++++++++-- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/public/react/src/modules/developer/components/initTabCtx/index.js b/public/react/src/modules/developer/components/initTabCtx/index.js index 831416fab..3a70f8091 100644 --- a/public/react/src/modules/developer/components/initTabCtx/index.js +++ b/public/react/src/modules/developer/components/initTabCtx/index.js @@ -1,7 +1,7 @@ /* * @Description: 自定义测试化用例 * @Author: tangjiang - * @Github: + * @Github: * @Date: 2019-11-27 19:46:14 * @LastEditors : tangjiang * @LastEditTime : 2019-12-26 20:07:35 @@ -50,11 +50,8 @@ function InitTabCtx (props, ref) { > { getFieldDecorator('input', { - rules: [ - { required: true, message: '输入值不能为空'} - ], initialValue: inputValue - })(