updated 性别判断细节修复

This commit is contained in:
mumuy 2022-09-08 09:03:19 +08:00
parent e5f0f47afc
commit 96b1f3d07b
3 changed files with 3 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

@ -49,7 +49,7 @@ var relationship = function (parameter){
var sex = data['sex']; var sex = data['sex'];
if(options.reverse){ if(options.reverse){
temps = reverseId(id,sex); temps = reverseId(id,sex);
if(id.match(/([fhs1](&[ol])?|[olx]b)$/)){ if(id.match(/([fhs1](&[ol\d]+)?|[olx]b)$/)){
sex = 1; sex = 1;
}else{ }else{
sex = 0; sex = 0;