修复次日预测振幅抽屉展示 6 行的问题
This commit is contained in:
@@ -89,7 +89,7 @@ document.querySelectorAll('.amp-cell').forEach(function(cell) {
|
||||
// Next-day row: use latest 5 data rows
|
||||
if (cell.dataset.next) {
|
||||
if (dataRows.length < 5) return;
|
||||
showDrawer(cell, '{{ contract }}', dataRows, 0, 5);
|
||||
showDrawer(cell, '{{ contract }}', dataRows, 0, 4);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user