Browse Source

调整 treeTable `reload` 由默认深拷贝换成默认浅拷贝

pull/1309/head
sunxiaobin89 1 year ago
parent
commit
108221ad79
  1. 2
      src/modules/treeTable.js

2
src/modules/treeTable.js

@ -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…
Cancel
Save