未捕获的类型错误:无法读取未定义的属性(读取“map”)import React, { useState } from "react";import products from '../products'function RecScreen() {const [budget, setBudget] = useState(products);const [items, setParts] = use
2023-03-19
我正在编写一个 API 来接受和保存用户个人资料信息。总共我想接受来自用户的 5 个参数,如下所示。{"first_name":"","last_name":"","email":"","password":"","profile_picture":""}在这 5 个参数中,first_name、last_name、email和password是必需的,而profile_picture是可选的。在
2020-03-11