mirror of
https://gitee.com/layui/layui.git
synced 2025-12-27 06:35:47 +08:00
回滚 treeTable 选中色的状态同步
This commit is contained in:
@@ -1527,7 +1527,7 @@ layui.define(['table'], function (exports) {
|
||||
tr[checked ? 'addClass' : 'removeClass'](ELEM_CHECKED); // 主体行
|
||||
|
||||
// 右侧固定行
|
||||
tr.eq(0).each(function(){
|
||||
tr.each(function(){
|
||||
var index = $(this).data('index');
|
||||
var trFixedR = tableViewElem.find('.layui-table-fixed-r tbody tr[data-index="'+ index +'"]');
|
||||
trFixedR[checked ? 'addClass' : 'removeClass'](ELEM_CHECKED);
|
||||
|
||||
Reference in New Issue
Block a user