|  |  | @ -32,7 +32,7 @@ class Osshackathonmd extends Component{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 				this.setState({ |  |  |  | 				this.setState({ | 
			
		
	
		
		
			
				
					
					|  |  |  | 					title_value:result.data.name |  |  |  | 					title_value:result.data.name | 
			
		
	
		
		
			
				
					
					|  |  |  | 				}) |  |  |  | 				}) | 
			
		
	
		
		
			
				
					
					|  |  |  | 				this.contentMdRef.current.setValue(result.data.description); |  |  |  | 				this.contentMdRef.current.setValue(result.data.description === null ? "" : result.data.description); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 			} |  |  |  | 			} | 
			
		
	
		
		
			
				
					
					|  |  |  | 		}) |  |  |  | 		}) | 
			
		
	
		
		
			
				
					
					|  |  |  | 	} |  |  |  | 	} | 
			
		
	
	
		
		
			
				
					|  |  | @ -83,15 +83,16 @@ class Osshackathonmd extends Component{ | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<Form.Item label="标题"> |  |  |  | 					<Form.Item label="标题"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 						<Input placeholder="请输入标题" |  |  |  | 						<Input placeholder="请输入标题" | 
			
		
	
		
		
			
				
					
					|  |  |  | 									 value={this.state.title_value} |  |  |  | 									 value={this.state.title_value} | 
			
		
	
		
		
			
				
					
					|  |  |  | 									  onInput={this.changeTitle} |  |  |  | 									 onInput={this.changeTitle} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 									 className="searchView searchViewAfter h45input" style={{"width": "100%"}} maxLength="60" |  |  |  | 									 className="searchView searchViewAfter h45input" style={{"width": "100%"}} maxLength="60" | 
			
		
	
		
		
			
				
					
					|  |  |  | 									 addonAfter={String(this.state.title_value===undefined?0:this.state.title_value.length)+"/60"} |  |  |  | 									 addonAfter={String(this.state.title_value === undefined || this.state.title_value === null ? 0 : this.state.title_value.length) + "/60"} | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | 						/> |  |  |  | 						/> | 
			
		
	
		
		
			
				
					
					|  |  |  | 					</Form.Item> |  |  |  | 					</Form.Item> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 					<Form.Item label="描述"> |  |  |  | 					<Form.Item label="描述"> | 
			
		
	
		
		
			
				
					
					|  |  |  | 						<TPMMDEditor ref={this.contentMdRef} placeholder="请输入描述" mdID={'courseContentMD'} refreshTimeout={1500} |  |  |  | 						<TPMMDEditor ref={this.contentMdRef} placeholder="请输入描述" mdID={'courseContentMD'} refreshTimeout={1500} | 
			
		
	
		
		
			
				
					
					|  |  |  | 												 className="courseMessageMD" initValue={this.state.description}></TPMMDEditor> |  |  |  | 												 className="courseMessageMD" | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 												 initValue={this.state.description === null ? "" : this.state.description}></TPMMDEditor> | 
			
		
	
		
		
			
				
					
					|  |  |  | 					</Form.Item> |  |  |  | 					</Form.Item> | 
			
		
	
		
		
			
				
					
					|  |  |  | 				</Form> |  |  |  | 				</Form> | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |