mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-03 04:28:51 +08:00
feat(性能测试): 版本对比
--user=郭雨琦 性能测试版本对比table去重
This commit is contained in:
parent
3dd6a7e131
commit
5f5ca61bc9
@ -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是相等的;
|
||||
|
Loading…
Reference in New Issue
Block a user