How to solve a problem where props is undefined when linked with router

后端 未结 0 729
刺人心
刺人心 2021-02-04 04:21

Hi Now I\'m going to receive data from api and hand over the props to the component, but the props is undefined.

// Parent Component PostCard.tsx

const ini         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题