合并分支 'lyf-dev-req0002' 到 'lyf-dev'
This commit is contained in:
commit
35891c497d
@ -1099,16 +1099,24 @@ const exportHistoryData = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const resizeCharts = () => {
|
const resizeCharts = () => {
|
||||||
if (fullscreenPredictionChart.value) fullscreenPredictionChart.value.resize();
|
if (predictionChart) {
|
||||||
if (fullscreenHistoryChart.value) fullscreenHistoryChart.value.resize();
|
predictionChart.resize();
|
||||||
|
}
|
||||||
|
if (historyChart) {
|
||||||
|
historyChart.resize();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
window.addEventListener('resize', resizeCharts);
|
window.addEventListener('resize', resizeCharts);
|
||||||
|
|
||||||
onUnmounted(() => {
|
onUnmounted(() => {
|
||||||
window.removeEventListener('resize', resizeCharts);
|
window.removeEventListener('resize', resizeCharts);
|
||||||
if (fullscreenPredictionChart.value) fullscreenPredictionChart.value.dispose();
|
if (predictionChart) {
|
||||||
if (fullscreenHistoryChart.value) fullscreenHistoryChart.value.dispose();
|
predictionChart.destroy();
|
||||||
|
}
|
||||||
|
if (historyChart) {
|
||||||
|
historyChart.destroy();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
@ -307,7 +307,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
## 2025-07-21:前后端联合调试与UI修复
|
## 2025-07-21:前后端联合调试与UI修复
|
||||||
**开发者**: Roo
|
**开发者**: lyf
|
||||||
|
|
||||||
### 15:45 - 修复后端 `DataFrame` 序列化错误
|
### 15:45 - 修复后端 `DataFrame` 序列化错误
|
||||||
- **问题现象**: 在清理了历史模型并重新进行预测后,前端出现 `Object of type DataFrame is not JSON serializable` 错误。
|
- **问题现象**: 在清理了历史模型并重新进行预测后,前端出现 `Object of type DataFrame is not JSON serializable` 错误。
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user