I can't show data in dom after api id matched by conditional

后端 未结 0 1093
醉梦人生
醉梦人生 2021-01-24 03:19

I can\'t set conditionally

const [food, setFood] = useContext(UserContext)
  • when I click a product I get a id from food<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题