updated 排序算法调整

This commit is contained in:
PASSER-BY 2022-03-27 22:02:51 +08:00
parent 647ae12d52
commit f50177865c
3 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1353,9 +1353,11 @@
x_items.push(i);
}
if(name!=r_name&&_data[i].indexOf(r_name)>-1){
if(!i.match(/^[mf,]+$/)){ // 直系祖辈不参与排序
r_items.push(i);
}
}
}
});
// console.log('[keywords]',keywords);
// 如找不到结果,再是否存在称呼的排行问题(不直接判断,因存在"大舅""三从父兄""三世祖"这样特俗含义的情况)