解决 TypeError: antd_es_form__WEBPACK_IMPORTED_MODULE_7__.default.create(...) is not a function

react引用antd时,出现以下错误 TypeError: antd_es_form__WEBPACK_IMPORTED_MODULE_7__.default.create(…) is not a function 错误如图: 原因: 由于antd的版本导致 解决: package.json文件下的antd版本号修改为3.26.14 运行 npm install,再运行npm start可解决
相关文章
相关标签/搜索