From 05ac23efc0442637be379b25a8c2de94773cd6e2 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] =?UTF-8?q?=E8=B0=83=E6=95=B4oj=E8=AE=BE=E7=BD=AE=E7=9B=B8?=
=?UTF-8?q?=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 | 13 +++++--------
.../leftpane/editorTab/AddTestDemo.js | 10 ++--------
.../newOrEditTask/leftpane/editorTab/index.js | 19 +++++++++++++++++++
3 files changed, 26 insertions(+), 16 deletions(-)
diff --git a/public/react/src/modules/developer/components/initTabCtx/index.js b/public/react/src/modules/developer/components/initTabCtx/index.js
index 2c81a0111..315fd7242 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,15 +50,12 @@ function InitTabCtx(props, ref) {
>
{
getFieldDecorator('input', {
- rules: [
- { required: true, message: '输入值不能为空' }
- ],
initialValue: inputValue
})()
+ className="input_textarea_style"
+ rows={8}
+ placeholder="请填写测试用例的输入值,点击“调试代码”"
+ />)
}
diff --git a/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/AddTestDemo.js b/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/AddTestDemo.js
index 994aded6d..fc782888f 100644
--- a/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/AddTestDemo.js
+++ b/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/AddTestDemo.js
@@ -146,18 +146,12 @@ const AddTestDemo = (props) => {
}
return (
- handleChangeCollapse()}>
-
+ handleChangeCollapse()}>
+