hjhan
|
74c434bdd8
|
fix(swaptrade): 修复重输/重贴原值后回车不触发计算、粘贴不标记REV的静默失效
- swapPricePrecisionHelper: onKeydown 回车时无条件派发 input+enter,
不再依赖仅值变化才触发的原生 change;onPaste 粘贴即派发 input 标 REV;
onChange 不再派发 enter(改由 onKeydown 唯一派发,避免重复计算)
- 新增 fe-tests/swapPriceInput.component.test.js 回归守卫(6 用例,
回退旧版即变红,锁定该 QA 高优 Bug 修复)
- bundle/bundleV2: otcDebug 调试开关改为 localStorage 持久化 +
URL ?otcdebug=1 触发,便于排查价格计算链路
|
2026-07-31 09:07:08 +08:00 |
|