去掉禁用行的 tr>td 的disabled 的css

This commit is contained in:
leonine 2017-02-22 17:30:39 +08:00
parent 1952df8cec
commit 87379c8205
4 changed files with 2 additions and 12 deletions

View file

@ -19,7 +19,7 @@
naturalIndex: Number, // index of rebuildData naturalIndex: Number, // index of rebuildData
index: Number, // _index of data index: Number, // _index of data
checked: Boolean, checked: Boolean,
disabled:Boolean, disabled: Boolean,
fixed: { fixed: {
type: [Boolean, String], type: [Boolean, String],
default: false default: false

View file

@ -53,8 +53,7 @@
this.rowClsName(_index), this.rowClsName(_index),
{ {
[`${this.prefixCls}-row-highlight`]: this.objData[_index] && this.objData[_index]._isHighlight, [`${this.prefixCls}-row-highlight`]: this.objData[_index] && this.objData[_index]._isHighlight,
[`${this.prefixCls}-row-hover`]: this.objData[_index] && this.objData[_index]._isHover, [`${this.prefixCls}-row-hover`]: this.objData[_index] && this.objData[_index]._isHover
[`${this.prefixCls}-row-disabled`]: this.objData[_index] && this.objData[_index]._isDisabled
} }
]; ];
}, },

View file

@ -209,14 +209,6 @@
} }
} }
&-row-disabled,
tr&-row-disabled,
{
td{
background-color: @table-td-disabled-ng;
}
}
&-fixed, &-fixed-right{ &-fixed, &-fixed-right{
position: absolute; position: absolute;
top: 0; top: 0;

View file

@ -43,7 +43,6 @@
@table-td-stripe-bg : #f5f7f9; @table-td-stripe-bg : #f5f7f9;
@table-td-hover-bg : #ebf7ff; @table-td-hover-bg : #ebf7ff;
@table-td-highlight-bg : #ebf7ff; @table-td-highlight-bg : #ebf7ff;
@table-td-disabled-ng : #c3cbd6;
@menu-dark-active-bg : #313540; @menu-dark-active-bg : #313540;
@date-picker-cell-hover-bg : #e1f0fe; @date-picker-cell-hover-bg : #e1f0fe;