mirror of
https://ghfast.top/https://github.com/aeroxw/tick-stock-panel.git
synced 2026-09-12 15:34:16 +08:00
get() 对字符串值去外层引号后传给 parsePyValue, 字符串型 default (如 date 类型的 "2024-01-01") 去引号变成 2024-01-01, JSON.parse 在 position 4 报错 → 整个 StrategyBuilderDialog 白屏。 parsePyValue 加 try/catch: JSON.parse 失败时返回原始字符串。 数字/布尔不受影响, 字符串值兜底为字符串。 Co-authored-by: shy3130 <shy3130@users.noreply.github.com>