fix: remove redundant LOGIN type, rename KILL label to \u6d3b\u8dc3\u5ea6
- LOGIN type duplicated with KILL (both use days_since_last_login) - KILL label: \u5c01\u53f7\u89c4\u5219 \u2192 \u6d3b\u8dc3\u5ea6 (action is always \u5c01\u53f7/\u5220\u9664\u8d26\u53f7, type now describes monitoring category)
This commit is contained in:
@@ -165,9 +165,8 @@ import api from '../api'
|
||||
|
||||
// ============ 选项配置 ============
|
||||
const typeOptions = [
|
||||
{ value: 'KILL', label: '封号规则' },
|
||||
{ value: 'TRAFFIC', label: '流量监控' },
|
||||
{ value: 'LOGIN', label: '登录监控' },
|
||||
{ value: 'KILL', label: '活跃度' },
|
||||
{ value: 'TRAFFIC', label: '流量' },
|
||||
{ value: 'HD', label: 'H&R' },
|
||||
{ value: 'RATIO', label: '分享率' },
|
||||
]
|
||||
@@ -201,7 +200,6 @@ const typeLabel = (t) => typeOptions.find(x => x.value === t)?.label || t
|
||||
const typeDefaults = {
|
||||
KILL: { metric:'days_since_last_login', condition:'GT', unit:'天' },
|
||||
TRAFFIC: { metric:'days_since_last_traffic', condition:'GT', unit:'天' },
|
||||
LOGIN: { metric:'days_since_last_login', condition:'GT', unit:'天' },
|
||||
HD: { metric:'hnr_count', condition:'GTE', unit:'次' },
|
||||
RATIO: { metric:'ratio', condition:'LT', unit:'' },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user