更新时间:2023-01-23 18:34:03
您需要设置 fieldStyle
而不是 style
。您还需要覆盖Ext JS默认设置,该默认设置在该字段上设置一个背景图像。像这样:
You need to set fieldStyle
instead of style
. You also need to override the Ext JS default, which sets a background image on the field. Like this:
fieldStyle: 'background-color: #ddd; background-image: none;'