Browse Source

修复 treeTable 中不必要的错误提示

pull/1241/head
贤心 2 years ago
parent
commit
3aba3eb2aa
  1. 4
      src/modules/treeTable.js

4
src/modules/treeTable.js

@ -1421,11 +1421,11 @@ layui.define(['table'], function (exports) {
var options = obj.config;
var tableView = options.elem.next();
var tableId = options.id;
var that = getThisTable(tableId);
if (tableView.hasClass('layui-table-tree')) {
updateObjParams(obj);
var that = getThisTable(tableId);
var checked = obj.checked;
updateObjParams(obj)
obj.isAll = checkNode.call(that, obj.tr, checked);
}
})

Loading…
Cancel
Save