updated 排序算法调整
This commit is contained in:
parent
647ae12d52
commit
f50177865c
2
dist/relationship.min.js
vendored
2
dist/relationship.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/relationship.zh-HK.min.js
vendored
2
dist/relationship.zh-HK.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1353,9 +1353,11 @@
|
|||||||
x_items.push(i);
|
x_items.push(i);
|
||||||
}
|
}
|
||||||
if(name!=r_name&&_data[i].indexOf(r_name)>-1){
|
if(name!=r_name&&_data[i].indexOf(r_name)>-1){
|
||||||
|
if(!i.match(/^[mf,]+$/)){ // 直系祖辈不参与排序
|
||||||
r_items.push(i);
|
r_items.push(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
// console.log('[keywords]',keywords);
|
// console.log('[keywords]',keywords);
|
||||||
// 如找不到结果,再是否存在称呼的排行问题(不直接判断,因存在"大舅""三从父兄""三世祖"这样特俗含义的情况)
|
// 如找不到结果,再是否存在称呼的排行问题(不直接判断,因存在"大舅""三从父兄""三世祖"这样特俗含义的情况)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user