mirror of
https://gitee.com/layui/layui.git
synced 2025-05-23 00:19:46 +08:00
删除 treeTable 多余代码
This commit is contained in:
parent
3de89ffb3d
commit
f453f15b71
@ -1245,7 +1245,7 @@ layui.define(['table'], function (exports) {
|
|||||||
options.hasNumberCol && formatNumber(that);
|
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();
|
tableViewElem.find(ELEM_MAIN).find('tr[lay-data-index="' + newNodes[0][LAY_DATA_INDEX] + '"]').get(0).scrollIntoViewIfNeeded();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 重新适配尺寸
|
|
||||||
table.resize(id);
|
|
||||||
|
|
||||||
return newNodes;
|
return newNodes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user