在这个状态下,我有一个带有propertyA的对象a。propertyA是一个数组。the object a I console.log propertyA with value.当我尝试console.log a.propertyA时,我得到了未定义,但在使用this.state.a中的相同数据呈现视图时
我试图使用React.js .I中的axios向服务器发出POST请求,没有错误,将对象从前端发送到后端(发送请求时,Django返回200)。然而,我无法访问对象的信息:我有几个字段,其中一个是'name‘。information, nothing is wrong here
axios.post('https://127.0.1.1:8000/api/join_us/', dat