fix: 新人考核默认条件 GTE→LT,与显示'低于'保持一致

This commit is contained in:
mediabot-pt
2026-07-09 00:00:14 +08:00
parent de16176442
commit a4607a568c

View File

@@ -248,11 +248,11 @@ const rankDisplay = (v) => {
}
const taskReqDefaults = [
{ metric:'upload_gb', label:'上传量', threshold:10, unit:'GB', condition:'GTE', enabled:true },
{ metric:'download_gb', label:'下载量', threshold:10, unit:'GB', condition:'GTE', enabled:true },
{ metric:'bonus', label:'魔力值', threshold:1000, unit:'', condition:'GTE', enabled:true },
{ metric:'seeding_score', label:'做种积分', threshold:100, unit:'', condition:'GTE', enabled:true },
{ metric:'avg_seed_time', label:'平均做种时间', threshold:24, unit:'小时', condition:'GTE', enabled:true },
{ metric:'upload_gb', label:'上传量', threshold:10, unit:'GB', condition:'LT', enabled:true },
{ metric:'download_gb', label:'下载量', threshold:10, unit:'GB', condition:'LT', enabled:true },
{ metric:'bonus', label:'魔力值', threshold:1000, unit:'', condition:'LT', enabled:true },
{ metric:'seeding_score', label:'做种积分', threshold:100, unit:'', condition:'LT', enabled:true },
{ metric:'avg_seed_time', label:'平均做种时间', threshold:24, unit:'小时', condition:'LT', enabled:true },
]
const applicableLabel = (v) => applicableOptions.find(x => x.value === v)?.label || v