|
@@ -130,8 +130,8 @@ const DemandDetailForm = Form.create()(
|
|
|
message.warning('项目简介字数不得超过40个字。');
|
|
|
return;
|
|
|
}
|
|
|
- if(this.state.advertisement&&(this.state.advertisement).length>30){
|
|
|
- message.warning('项目营销说明字数不得超过30个字。');
|
|
|
+ if(this.state.advertisement&&(this.state.advertisement).length>100){
|
|
|
+ message.warning('项目营销说明字数不得超过100个字。');
|
|
|
return;
|
|
|
}
|
|
|
if(this.state.introduce&&(this.state.introduce.length)>10000){
|
|
@@ -375,10 +375,10 @@ const DemandDetailForm = Form.create()(
|
|
|
return;
|
|
|
}
|
|
|
if(this.state.summary&&(this.state.summary).length>40){
|
|
|
- message.warning('项目营销说明字数不得超过40个字。');
|
|
|
+ message.warning('项目简介字数不得超过40个字。');
|
|
|
return;
|
|
|
}
|
|
|
- if(this.state.advertisement&&(this.state.advertisement).length>30){
|
|
|
+ if(this.state.advertisement&&(this.state.advertisement).length>100){
|
|
|
message.warning('项目营销说明字数不得超过30个字.');
|
|
|
return;
|
|
|
}
|
|
@@ -430,7 +430,7 @@ const DemandDetailForm = Form.create()(
|
|
|
minImgUrl: minPictureUrl.length ? minPictureUrl : '',
|
|
|
maxImgUrl: maxPictureUrl.length ? maxPictureUrl : '',
|
|
|
applyConditions: this.state.applyConditions,
|
|
|
- tag:this.state.tagArr.join(',')
|
|
|
+ tag:(this.state.tagArr).length?this.state.tagArr.join(','):''
|
|
|
}
|
|
|
}).done(
|
|
|
function(data) {
|
|
@@ -822,7 +822,7 @@ const DemandDetailForm = Form.create()(
|
|
|
visible={this.state.visibleTag}
|
|
|
onOk={this.tagOk}
|
|
|
onCancel={this.tagCancel}
|
|
|
- width="450px"
|
|
|
+ width="600px"
|
|
|
title="新建标签"
|
|
|
footer=""
|
|
|
>
|