How to configure the default value of global action by element ui

element ui < InputNumber > when size is not set, the default is large. But my page is basically mini, so I have to set each one. Is there a default value for
element ui to configure global action so that the size of < InputNumber > is mini by default?
this is just one of the examples. Other ui also have their own default values. Don"t just solve the problem of < InputNumber >. -sharp-sharp-sharp topic description

Jan.08,2022

refer to the official website global configuration http://element-cn.eleme.io/-sharp/.


two ways:
the first is to set the global css style. You can open F12 to see the inputNumber style. Then set the global style to override
. Second, you can encapsulate inputNumber into your own build, then set it to mini, and then use this custom build elsewhere, and you can simply encapsulate other element builds

.
Menu