mirror of https://github.com/layui/layui
修复 treeTable 部分操作之后 `radio` 列选中状态丢失的问题
parent
8e6ea6988f
commit
4cae7241d2
|
@ -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…
Reference in New Issue