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

This commit is contained in:
贤心
2023-04-27 09:20:49 +08:00
parent 2964052efb
commit 3aba3eb2aa

View File

@@ -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);
}
})