Ant-design upload component style problem

clipboard.png
the picture is displayed 100% when using the upload component.
try
import"@ / pages/creation/articlEdit/components/upFile.less";
in the component js file, but it doesn"t work. The import less file is also used in the global layout.js file, but the official class name used by
class name is not used. Also try to use the inline
style= {{

                width: "120px",
                height: "120px",
            }}
            
Jun.26,2022
Menu