为什么拿不到children

44 阅读1分钟

error.pic.jpg

error1.pic.jpg

通过interface定义的props,一定要在AMenuItemProps中定义children才可以拿到吗? 求解