mirror of https://github.com/layui/layui
调整 treeTable `reload` 由默认深拷贝换成默认浅拷贝
parent
d34b08a2d9
commit
108221ad79
|
@ -1854,7 +1854,7 @@ layui.define(['table'], function (exports) {
|
||||||
|
|
||||||
// 重载
|
// 重载
|
||||||
treeTable.reload = function (id, options, deep, type) {
|
treeTable.reload = function (id, options, deep, type) {
|
||||||
deep = deep !== false; // 默认采用深拷贝
|
// deep = deep !== false; // 默认采用深拷贝
|
||||||
var that = getThisTable(id);
|
var that = getThisTable(id);
|
||||||
if (!that) return;
|
if (!that) return;
|
||||||
that.reload(options, deep, type);
|
that.reload(options, deep, type);
|
||||||
|
|
Loading…
Reference in New Issue