Compare commits

...

4 Commits

Author SHA1 Message Date
35891c497d 合并分支 'lyf-dev-req0002' 到 'lyf-dev' 2025-07-22 11:31:09 +08:00
038289ae32 修复历史预测模块跳转异常 2025-07-22 11:11:46 +08:00
0d3b89abf6 1 2025-07-22 10:50:54 +08:00
ec636896da 回退历史预测模块代码 2025-07-22 10:03:41 +08:00
3 changed files with 13 additions and 5 deletions

View File

@ -1099,16 +1099,24 @@ const exportHistoryData = () => {
};
const resizeCharts = () => {
if (fullscreenPredictionChart.value) fullscreenPredictionChart.value.resize();
if (fullscreenHistoryChart.value) fullscreenHistoryChart.value.resize();
if (predictionChart) {
predictionChart.resize();
}
if (historyChart) {
historyChart.resize();
}
};
window.addEventListener('resize', resizeCharts);
onUnmounted(() => {
window.removeEventListener('resize', resizeCharts);
if (fullscreenPredictionChart.value) fullscreenPredictionChart.value.dispose();
if (fullscreenHistoryChart.value) fullscreenHistoryChart.value.dispose();
if (predictionChart) {
predictionChart.destroy();
}
if (historyChart) {
historyChart.destroy();
}
});
onMounted(() => {

View File

@ -307,7 +307,7 @@
---
## 2025-07-21前后端联合调试与UI修复
**开发者**: Roo
**开发者**: lyf
### 15:45 - 修复后端 `DataFrame` 序列化错误
- **问题现象**: 在清理了历史模型并重新进行预测后,前端出现 `Object of type DataFrame is not JSON serializable` 错误。

Binary file not shown.