liting2017 7 years ago
parent
commit
8f145051f2

+ 0 - 1
js/component/manageCenter/demand/techDemandDesc.jsx

@@ -1233,7 +1233,6 @@ const DemandDetailForm = Form.create()(React.createClass({
                         wrapperCol={{ span: 18 }}
                         label="备注" >
                         {getFieldDecorator('remark', {
-                            rules: [{ required: true, message: '此项为必填项!' }],
                             initialValue: theData.remark
                         })(
                             <Input type="textarea" rows={4} />

+ 3 - 3
js/component/manageCenter/set/userManagementS/newRole.jsx

@@ -55,9 +55,9 @@ const Newrole = Form.create()(React.createClass({
 				this.setState({
 					loading: true
 				});
-				if(selectAllId[0]==null){	
-					selectAllId=[]
-				};
+				if(selectAllId[selectAllId.length-1]==null){
+					selectAllId.splice(selectAllId.length-1,1)
+				}
 				$.ajax({
 					method: "POST",
 					dataType: "json",