feat: 添加 CPA 手机号注册提示逻辑及相关测试用例

This commit is contained in:
QLHazyCoder
2026-05-05 23:33:31 +08:00
parent b58f09580d
commit 5d4e0d230a
3 changed files with 211 additions and 9 deletions
+4
View File
@@ -456,6 +456,10 @@ function syncAutoRunState() {}
function syncPasswordField() {}
function renderStepStatuses() {}
function setLocalCpaStep9Mode() {}
function normalizePanelMode(value = '') {
const normalized = String(value || '').trim().toLowerCase();
return normalized === 'sub2api' || normalized === 'codex2api' ? normalized : 'cpa';
}
function isCustomMailProvider() { return false; }
function setMail2925Mode() {}
function normalizeIcloudFetchMode(value) { return String(value || '') === 'always_new' ? 'always_new' : 'reuse_existing'; }