code: function mergeDetail(allEle, addEle, attrName, type) {
  
      if (allEle[attrName] && addEle[attrName]) {
          if (type == 1) {
              for (var k in allEle[attrName]) {
                  //todo 现在没有考虑两个文件中同一项覆盖率的统计行数不一致的问题
                  if ( parseInt(allEle[attrName][k])==0 &&  parseInt(addEle[attrName][k]) ==1) {
                      allEle[attrName][k] = 1;
                  }
              }
          }
          else if (type == 2) {
              for (var k in allEle[attrName]) {
                  //todo 现在没有考虑两个文件中同一项覆盖率的统计行数不一致的问题
                  if (addEle[attrName][k]) {
                      if (parseInt(allEle[attrName][k][0])==0 &&parseInt(addEle[attrName][k][0])==1 ) {
                          allEle[attrName][k][0] = 1;
                      }
                      if (parseInt(allEle[attrName][k][1])==0 &&parseInt(addEle[attrName][k][1])==1 ) {
                          allEle[attrName][k][1] = 1;
                      }
                  }
              }
          }
      }
      return allEle;
  }
docs: type = 1 合并 s f l ,如:{"1":1,"2":1,"3":1} type = 2 合并 b ,如:{"1":[0,0],"2":[0,0]}