修复全仓复利关闭后仍无法开仓:前端不再残留选中全仓,后端强制改指定张数。

审计:开关关闭时隐藏全仓芯片并自动勾选指定张数;报价/余额热同步 compound_full_enabled;API 将 compound_full 归一为 sheets(缺张数默认1);单测覆盖开关开关两种归一路径。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-12 16:14:53 +08:00
parent 9c19afc8d4
commit 271865fa3d
8 changed files with 168 additions and 28 deletions
+3
View File
@@ -4424,6 +4424,9 @@ html[data-theme="light"] .opt-pending-item {
.opt-size-mode-chip {
position: relative;
}
.opt-size-mode-chip[hidden] {
display: none !important;
}
.opt-size-mode-chip input[type="radio"] {
position: absolute;
opacity: 0;