React Native render()里面写js和迭代


{(this.state.helps!==null&&this.state.helps!=undefined&&this.state.helps.length>=1)?
                                  this.state.helps.map( (item,index,input) => {return (

                                    
                                      
                                        
                                            {item.type===1?'问需内容':'个案内容'}:  
                                        
                                        
                                            {StringUtils.isEmpty(item.content)?'未知':item.content}
                                        
                                        




                                        

                                      

                                    )} )



                                      :

                                      
                                            暂无
                                        

                                        }

你可能感兴趣的:(React Native render()里面写js和迭代)