更新 'SrcJySet.js'

master
src48597962 3 months ago
parent 9a2fae2003
commit fc85b124ff
  1. 11
      SrcJySet.js

@ -215,17 +215,18 @@ function SRCSet() {
if (hikerPop.canBiometric() !== 0) { if (hikerPop.canBiometric() !== 0) {
return "toast://无法调用生物学验证"; return "toast://无法调用生物学验证";
} }
let pop = hikerPop.checkByBiometric(() => {
toast("通过");
lockgroups = lockgroups.filter(item => item !== it); lockgroups = lockgroups.filter(item => item !== it);
}); hikerPop.checkByBiometric((Juconfig,cfgfile,lockgroups) => {
log($.type(pop)); Juconfig["lockgroups"] = lockgroups;
writeFile(cfgfile, JSON.stringify(Juconfig));
refreshPage(false);
},Juconfig,cfgfile,lockgroups);
}else{ }else{
lockgroups.push(it); lockgroups.push(it);
}
Juconfig["lockgroups"] = lockgroups; Juconfig["lockgroups"] = lockgroups;
writeFile(cfgfile, JSON.stringify(Juconfig)); writeFile(cfgfile, JSON.stringify(Juconfig));
refreshPage(false); refreshPage(false);
}
},it) },it)
}] }]
} }

Loading…
Cancel
Save