React-native acquires objects in state. If there are multiple layers, an error will be reported.

this.state.address value will not report error
this.state.address.zone value will not report error
this.state.address.zone.name value error cant read property name of undefined-sharp-sharp-sharp problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Feb.08,2022
Menu