From 5f5ca61bc9613cc4d0b0bdd2ee28712c0e073242 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Tue, 28 Dec 2021 19:12:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=AF=B9=E6=AF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --user=郭雨琦 性能测试版本对比table去重 --- frontend/src/business/components/performance/v_node_diff.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/business/components/performance/v_node_diff.js b/frontend/src/business/components/performance/v_node_diff.js index 0cfd72ca89..c6a3cf85a7 100644 --- a/frontend/src/business/components/performance/v_node_diff.js +++ b/frontend/src/business/components/performance/v_node_diff.js @@ -126,9 +126,8 @@ function changeStyleBySubset(vnodeElm,color){ * @param oldChildren Array * @param newChildren Array * @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是相等的;