Compare commits

..

No commits in common. "35891c497d5e4379a517b8726aa59ae3037bc9fe" and "244393670deec2856657d1ec969a72ad6217391f" have entirely different histories.

3 changed files with 5 additions and 13 deletions

View File

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

View File

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

Binary file not shown.