fix: 修复 RiskRules.vue ruleText 函数中 DRATIO 分支缺少 if 条件导致编译错误
This commit is contained in:
@@ -350,6 +350,7 @@ const ruleText = (r) => {
|
||||
if (r.type === 'TRAFFIC') {
|
||||
return `无流量且未登录:${val} → <span style="color:#f56c6c;font-weight:500">封号/删除账号</span>${appText}`
|
||||
}
|
||||
if (r.type === 'DRATIO') {
|
||||
const levels = (r.levels||[]).map(l => `下载量≥${l.threshold}GB时分享率<${l.ratio}`).join(',')
|
||||
return `分享率:${levels} → <span style="color:#e6a23c;font-weight:500">封号(缓刑7天)</span>${appText}`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user