回退 debTemps 首尾填充,修复 canvas CSS 无尺寸导致的图表缩塌

- 首尾填充会画成水平直线不反映预测,回退;past_days=1 已从后端补齐全天数据
- canvas 保留 width/height:100% 但去掉 !important,Chart.js 自管分辨率
This commit is contained in:
2569718930@qq.com
2026-05-16 22:05:09 +08:00
parent a24185e6dc
commit 80ca892611
4 changed files with 6 additions and 11 deletions
@@ -1061,6 +1061,8 @@
.root :global(.scan-ai-city-chart canvas) {
display: block;
width: 100%;
height: 100%;
}
.root :global(.scan-ai-city-chart-placeholder) {