feat(接口定义): 版本对比

--user=郭雨琦 接口定义版本对比第一版
This commit is contained in:
guoyuqi 2021-12-30 20:14:41 +08:00 committed by song-tianyang
parent 5f5ca61bc9
commit 4e40df67ad
1 changed files with 1 additions and 1 deletions

View File

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