Commit 986a2887 by chengming

删除活动的积分设置

parent 1158e932
...@@ -3617,59 +3617,6 @@ class NewTP extends Component { ...@@ -3617,59 +3617,6 @@ class NewTP extends Component {
changeTask={this.changeTask} changeTask={this.changeTask}
formItemLayout={formItemLayout2} formItemLayout={formItemLayout2}
/> />
<div
style={{
marginLeft: "48px",
marginRight: "585px",
height: "120px",
}}
>
{this.state.title === "新建项目" ? (
<Form.Item {...formItemLayout} label="设置积分: ">
{getFieldDecorator("point", {
initialValue: 0,
rules: [
{
required: false,
pattern: /^[0-9]\d*$/,
message: "请输入正确积分",
},
],
})(
<Input
defaultValue="0"
style={{ marginLeft: "10px" }}
disabled={usable}
/>
)}
</Form.Item>
) : (
<Form.Item {...formItemLayout} label="设置积分: ">
{getFieldDecorator("point", {
initialValue:
this.props.trainsetting.point === 0
? 0
: this.props.trainsetting.point
? this.props.trainsetting.point
: "",
rules: [
{
required: false,
pattern: /^[0-9]\d*$/,
message: "请输入正确积分",
},
],
})(
<Input
defaultValue="0"
style={{ marginLeft: "10px" }}
disabled={usable}
/>
)}
</Form.Item>
)}
</div>
</div> </div>
</div> </div>
)) || )) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment