reduce the if else on the response transformation

前端 未结 0 1003
迷失自我
迷失自我 2020-12-02 06:47

Could you please let me know is there any better way to write the below to avoid the if and else condition. I have a input structure is below,

 results=[  
 {         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题