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,7 +1353,9 @@
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){
r_items.push(i); if(!i.match(/^[mf,]+$/)){ // 直系祖辈不参与排序
r_items.push(i);
}
} }
} }
}); });