There is a problem with one icon showing two after the recent update of the icon library in Antd.

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

Feb.22,2022

should be


npm I-- save
caused by citing two copies of css.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b389ec-2c132.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b389ec-2c132.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?