fix(ui): 买入区显示2位小数(5.96~6.02不再被round成6.0~6.0)
This commit is contained in:
+1
-1
@@ -1546,7 +1546,7 @@ async function renderWatch() {
|
||||
const shares = s.shares || 0;
|
||||
const posPct = s.position_pct || 0;
|
||||
|
||||
const buyZone = (el_ && eh_) ? el_.toFixed(1) + '~' + eh_.toFixed(1) : '—';
|
||||
const buyZone = (el_ && eh_) ? el_.toFixed(2) + '~' + eh_.toFixed(2) : '—';
|
||||
const sltp = (sl_ || tp_) ? '损' + (sl_||'—') + '/盈' + (tp_||'—') : '—';
|
||||
const posDisplay = (isRec && s.suggested_position_pct)
|
||||
? '建议' + s.suggested_position_pct + '%'
|
||||
|
||||
Reference in New Issue
Block a user