two days ago, I re-downloaded the module dependency according to the package file, but first antd reported an error after the update, and then added to webpack that
babel-preset-env can run normally since then, but there is another problem, that is, all the icons in the original page application Antd are displayed as two
related codes
< FormItem >
{getFieldDecorator("userName", {
rules: [{ required: true, message: "!" }],
})(
<Input prefix={<Icon type="user" style={{ color: "rgba(0,0,0,.25)" }} />} placeholder="" />
)}
< / FormItem >
what result do you expect? What is the error message actually seen?
how to deal with this situation? Ask the bosses for a move, thank you