干得好:
$( '.someclass' ).each(function () { this.style.setProperty( 'border', 'none', 'important' );});.setProperty元素
style对象的方法使您可以传递表示优先级的第三个参数。因此,您要用自己的!important值覆盖!important值。据我所知,不可能用jQuery设置!important优先级,因此您唯一的选择是内置
.setProperty方法。

干得好:
$( '.someclass' ).each(function () { this.style.setProperty( 'border', 'none', 'important' );});.setProperty元素
style对象的方法使您可以传递表示优先级的第三个参数。因此,您要用自己的!important值覆盖!important值。据我所知,不可能用jQuery设置!important优先级,因此您唯一的选择是内置
.setProperty方法。