修复 table 点击 radio 列的选项时报错问题

This commit is contained in:
sunxiaobin89 2023-04-28 18:35:52 +08:00
parent 0b41afe245
commit 0fdaf22f82

View File

@ -1259,9 +1259,9 @@ 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')) {
var that = getThisTable(tableId);
updateObjParams(obj);
checkNode.call(that, obj.tr, obj.checked)
}