npm run fetch:blocks后刷新登录页出现报错
Unhandled Rejection (TypeError): _form.default.create(...) is not a function
./src/pages/user/login/components/Login/index.tsx
src/pages/user/login/components/Login/index.tsx:161
umi安装antd pro后再运行npm run fetch:blocks与npm start,打开页面后再退出登录,接着刷新
与初始安装后一样的正常登录页

是不是没有安装 @ant-design/compatible ?
@xiaohuoni 是的。。。
I have the same issue here.. @lichnow , what was your solution for this?
我这里有同样的问题.. @lichnow ,您对此有何解决方案?
我也遇到同样问题,最后解决了。
Most helpful comment
我也遇到同样问题,最后解决了。
import {Form} from 'antd';
改成
import { Form } from '@ant-design/compatible'