React 导入组件前段浏览器报错 “Cannot read property 'Component' of undefined” 问题出在这个花括号上,当你写{React}的时候,他只会导入React,并不会导入下面你要用到的Component组件, 所以,将括号去掉就可以了。 别忘记保存。 邮箱: 1090055252@qq.com