对json-server发起post请求,报错:Cannot read property ‘id‘ of undefined Andrew_Ryan 2021-07-18 258 阅读1分钟 在已有数据中添加属性"id"即可,后续项的“id”默认自动生成