You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
import { Form } from '@ant-design/compatible';
import '@ant-design/compatible/assets/index.css';
import { message, Spin } from 'antd';
const WrappedIndemnityInsert = Form.create({ name: 'recover_insert' })(IndemnityInsert);
在umi的config配置的是 {
plugins: ['@umijs/plugins/dist/antd'],
presets: ['umi-presets-pro'],
antd: {},
}
在umi4.x中使用Form.create包裹组件后会报_antd.form.create is not function应该如何解决呀
Beta Was this translation helpful? Give feedback.
All reactions