学习React前端框架,报错 'React' must be in scope when using JSX react/react-in-jsx-scope 问题 import react from 'react' 改成 import React from 'react' 小写 react 改成 React