fix: 互斥不禁止选择,解析所有 sync 函数到具体值 - #111
Merged
Merged
Conversation
- 移除 margin/reserve 相互禁用下拉框选项的行为,改为选择时自动清除冲突项 - syncRuntimeTargetForAccount: 解析为 enabled/disabled - syncIncomeLayerForAccount: 解析为 enabled/disabled - syncOptionOverlayForAccount: 解析为 enabled/disabled - 更新测试: 104 个用例 Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Codex PR ReviewPlease ensure a human reviewer checks this PR before merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动
1. 互斥逻辑不再禁止用户选择
之前当预留现金覆盖活跃时,"允许融资: 是"选项被
disabled无法点击;反之亦然。现在移除所有禁用,用户可自由选择任意选项,reconcileExecutionCashPolicy在选中时自动清除冲突项。2. 所有 sync 函数解析为具体值
不再默认显示"沿用当前配置",而是读取平台实际值后直接显示具体状态:
syncRuntimeTargetForAccount"current"enabled/disabledsyncIncomeLayerForAccount"current"enabled/disabledsyncOptionOverlayForAccount"current"enabled/disabled3. 测试
104 个单元测试全部通过,覆盖新增的 Runtime Target、Income Layer、Option Overlay 解析和互斥 UI 回归。
🤖 Generated with Claude Code