mirror of
https://gitee.com/layui/layui.git
synced 2025-12-26 22:25:48 +08:00
删除 treeTable 多余代码
This commit is contained in:
@@ -1245,7 +1245,7 @@ layui.define(['table'], function (exports) {
|
||||
options.hasNumberCol && formatNumber(that);
|
||||
|
||||
// 重新适配尺寸
|
||||
table.resize(id);
|
||||
treeTable.resize(id);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1396,9 +1396,6 @@ layui.define(['table'], function (exports) {
|
||||
tableViewElem.find(ELEM_MAIN).find('tr[lay-data-index="' + newNodes[0][LAY_DATA_INDEX] + '"]').get(0).scrollIntoViewIfNeeded();
|
||||
}
|
||||
|
||||
// 重新适配尺寸
|
||||
table.resize(id);
|
||||
|
||||
return newNodes;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user