隐藏本地同步为默认开启,调整为接码开关

This commit is contained in:
QLHazyCoder
2026-04-25 16:24:47 +08:00
parent 672c593271
commit 809d146b74
15 changed files with 319 additions and 45 deletions
+1 -4
View File
@@ -334,9 +334,6 @@
if (Boolean(state.contributionMode)) {
return false;
}
if (!Boolean(state.accountRunHistoryTextEnabled)) {
return false;
}
const helperBaseUrl = normalizeAccountRunHistoryHelperBaseUrl(state.accountRunHistoryHelperBaseUrl);
return Boolean(helperBaseUrl);
@@ -364,7 +361,7 @@
body: JSON.stringify(buildAccountRunHistorySnapshotPayload(records)),
});
} catch (err) {
throw new Error(`账号记录快照同步失败:无法连接本地 helper(${getErrorMessage(err)}`);
return '';
}
let payload = null;