From 5f57453af9fdcc614f520561bbc254bbae3fb332 Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Mon, 6 Jul 2026 22:00:10 +0800 Subject: [PATCH] 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) --- web/src/views/RiskRules.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web/src/views/RiskRules.vue b/web/src/views/RiskRules.vue index a3b76cb..7e1d79f 100644 --- a/web/src/views/RiskRules.vue +++ b/web/src/views/RiskRules.vue @@ -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:'' }, }