修复图表 reference-only 加载动画

This commit is contained in:
2569718930@qq.com
2026-06-16 05:43:19 +08:00
parent 153595ccfc
commit a9ed45a3d3
2 changed files with 24 additions and 4 deletions
@@ -265,7 +265,7 @@ export function runTests() {
"temperature chart should render once a visible series has drawable values",
);
assert(
!__shouldKeepTemperatureChartLoadingForTest({
__shouldKeepTemperatureChartLoadingForTest({
row: { city: "Moscow" } as any,
isHourlyLoading: true,
activeSeries: [
@@ -283,6 +283,6 @@ export function runTests() {
{ label: "05:00", ts: 2, current: 13 },
],
}),
"temperature chart must render seeded or cached data immediately while full detail continues loading in the background",
"temperature chart should keep the loading overlay when the only drawable series is the fallback Current reference line",
);
}