Browse Source

修复 treeTable 部分操作之后 `radio` 列选中状态丢失的问题

pull/1358/head
sunxiaobin89 1 year ago
parent
commit
4cae7241d2
  1. 3
      src/modules/treeTable.js

3
src/modules/treeTable.js

@ -1526,6 +1526,9 @@ layui.define(['table'], function (exports) {
Class.prototype.updateCheckStatus = function (dataP, checked) {
var that = this;
var options = that.getOptions();
if (!options.hasChecboxCol) {
return false; // 如果没有复选列则不需要更新状态
}
var treeOptions = options.tree;
var tableId = options.id;
var tableView = options.elem.next();

Loading…
Cancel
Save