Browse Source

邮箱产

liting2017 6 years ago
parent
commit
04dbd3fc80
1 changed files with 2 additions and 10 deletions
  1. 2 10
      js/component/account/setAccount/unit.jsx

+ 2 - 10
js/component/account/setAccount/unit.jsx

@@ -263,14 +263,6 @@ const Unit = React.createClass({
 		// 	});
 		// 	thecompanyLogoUrl = picArr.join(',');
 		// }
-		if (this.state.businessScope&&this.state.businessScope.length>400) {
-			message.warning('业务范围字数为1~400!');
-			return false;
-		}
-		if (this.state.introduction&&this.state.introduction.length>400) {
-			message.warning('企业简介字数为1~512!');
-			return false;
-		}
 		let thequaliUrl = [];
 		if (this.state.qualiUrl.length) {
 			let picArr = [];
@@ -577,7 +569,7 @@ const Unit = React.createClass({
 								label="法人电子邮箱"
 							>
 								<Input
-									maxLength={128}
+									maxLength={32}
 									placeholder="法人电子邮箱"
 									value={this.state.legalPersonEmail}
 									onChange={(e) => {
@@ -607,7 +599,7 @@ const Unit = React.createClass({
 								label={<span><span className="color-red"> * </span>企业邮箱</span>}
 							>
 								<Input
-									maxLength={128}
+									maxLength={32}
 									placeholder="请填写企业邮箱"
 									value={this.state.email}
 									onChange={(e) => {