feat(性能测试): 版本对比

--user=郭雨琦 性能测试版本对比table去重
This commit is contained in:
guoyuqi 2021-12-28 19:12:14 +08:00 committed by song-tianyang
parent 3dd6a7e131
commit 5f5ca61bc9
1 changed files with 1 additions and 2 deletions

View File

@ -126,9 +126,8 @@ function changeStyleBySubset(vnodeElm,color){
* @param oldChildren Array<VNode>
* @param newChildren Array<VNode>
* @param diffNode
* @param isCompareChildren
*/
function diffChildren(oldChildren,newChildren,diffNode,isCompareChildren){
function diffChildren(oldChildren,newChildren,diffNode){
let oldLength = oldChildren.length;
let newLength = newChildren.length;
//如果isCompareChildren===true证明是需要轮巡比较table内容是否有重复的,方法是比较每个元素的最子dom,tr的td的length是相等的