How to optimize the if-else statement due to Optional Object's properties also being optional?

后端 未结 0 978
不思量自难忘°
不思量自难忘° 2021-01-16 07:17

I have an Optional Object named Form. This has 3 other optional properties to it. Reason being, if this form object is not present, I have to generate my own form data. If t

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