修改bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m33s

This commit is contained in:
sexygoat
2026-03-17 09:31:37 +08:00
parent 8f31526499
commit f4ccf9ed24
28 changed files with 3383 additions and 1247 deletions

View File

@@ -1809,10 +1809,14 @@
}))
}
// 可选:强制充值配置
// 强制充值配置(无论开关状态都要传递)
data.enable_force_recharge = form.enable_force_recharge
if (form.enable_force_recharge) {
data.enable_force_recharge = true
// 启用时传递强充金额(分)
data.force_recharge_amount = Math.round((form.force_recharge_amount || 0) * 100)
} else {
// 关闭时传递 0
data.force_recharge_amount = 0
}
// 可选:套餐配置(将元转换为分)