diff --git a/public/react/src/modules/developer/newOrEditTask/index.js b/public/react/src/modules/developer/newOrEditTask/index.js
index e750cee0a..bc905fdf7 100644
--- a/public/react/src/modules/developer/newOrEditTask/index.js
+++ b/public/react/src/modules/developer/newOrEditTask/index.js
@@ -140,16 +140,26 @@ const NewOrEditTask = (props) => {
) : (
);
+
+ // 更新
+ // const updateBtn = isPublish
+ // ? ''
+ // : (
+ //
+ // );
return (
-
+
{pubButton}
{challengeBtn}
- {/* */}
)
}
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 d34efc080..4c4131fa9 100644
--- a/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/AddTestDemo.js
+++ b/public/react/src/modules/developer/newOrEditTask/leftpane/editorTab/AddTestDemo.js
@@ -4,7 +4,7 @@
* @Github:
* @Date: 2019-11-21 09:19:38
* @LastEditors: tangjiang
- * @LastEditTime: 2019-12-10 19:37:35
+ * @LastEditTime: 2019-12-13 11:58:46
*/
import './index.scss';
import React, { useState } from 'react';
@@ -16,7 +16,7 @@ const { TextArea } = Input;
const FormItem = Form.Item;
const AddTestDemo = (props) => {
const {
- // key,
+ key,
onSubmitTest,
onDeleteTest,
testCase,
@@ -138,7 +138,7 @@ const AddTestDemo = (props) => {
return (
handleChangeCollapse()}>
-
+