|  |  | @ -161,8 +161,30 @@ class TPMIndex extends Component { | 
			
		
	
		
		
			
				
					
					|  |  |  |       storage.setItem(newTPMsettings,true); |  |  |  |       storage.setItem(newTPMsettings,true); | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   componentDidUpdate(prevProps, prevState) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     if (prevProps != this.props) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       if (prevProps.user != this.props.user) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         let getnewTPMsettings=this.props.user&&this.props.user.user_id+'newTPMsettings'; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         let newTPMsettings=window.localStorage.getItem(getnewTPMsettings) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         if(this.state.identity <4){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           if(newTPMsettings===undefined||newTPMsettings===false||newTPMsettings===null){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.setState({ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               openknows:true | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           }else{ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.setState({ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               openknows:false | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     componentDidMount = () => { |  |  |  |     componentDidMount = () => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         let getnewTPMsettings=this.props.user&&this.props.user.user_id+'newTPMsettings' |  |  |  | 
 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         let getnewTPMsettings=this.props.user&&this.props.user.user_id+'newTPMsettings'; | 
			
		
	
		
		
			
				
					
					|  |  |  |         let newTPMsettings=window.localStorage.getItem(getnewTPMsettings) |  |  |  |         let newTPMsettings=window.localStorage.getItem(getnewTPMsettings) | 
			
		
	
		
		
			
				
					
					|  |  |  |         let id = this.props.match.params.shixunId; |  |  |  |         let id = this.props.match.params.shixunId; | 
			
		
	
		
		
			
				
					
					|  |  |  |         // console.log('props', this.props);
 |  |  |  |         // console.log('props', this.props);
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |