diff --git a/UI/src/views/HistoryView.vue b/UI/src/views/HistoryView.vue
index b223167..d58b1b1 100644
--- a/UI/src/views/HistoryView.vue
+++ b/UI/src/views/HistoryView.vue
@@ -87,12 +87,12 @@
- {{ currentPrediction.meta?.product_name || currentPrediction.product_name || getProductName(currentPrediction.meta?.product_id) || '未知产品' }}
+ {{ currentPrediction.product_name || '未知产品' }}
- {{ currentPrediction.meta?.model_type || currentPrediction.model_type || '未知模型' }}
+ {{ currentPrediction.model_type || '未知模型' }}
- {{ currentPrediction.meta?.start_date || currentPrediction.start_date || (currentPrediction.data?.prediction_data?.[0]?.date) || 'N/A' }}
- {{ formatDateTime(currentPrediction.meta?.created_at || currentPrediction.created_at) }}
+ {{ currentPrediction.start_date || (currentPrediction.prediction_data?.[0]?.date) || 'N/A' }}
+ {{ formatDateTime(currentPrediction.created_at) }}
@@ -106,7 +106,7 @@
- {{ currentPrediction?.data?.prediction_data ? calculateAverage(currentPrediction.data.prediction_data).toFixed(2) : '暂无数据' }}
+ {{ currentPrediction?.prediction_data ? calculateAverage(currentPrediction.prediction_data).toFixed(2) : '暂无数据' }}
- {{ currentPrediction?.data?.prediction_data ? calculateMax(currentPrediction.data.prediction_data).toFixed(2) : '暂无数据' }}
+ {{ currentPrediction?.prediction_data ? calculateMax(currentPrediction.prediction_data).toFixed(2) : '暂无数据' }}
- {{ currentPrediction?.data?.prediction_data ? calculateMin(currentPrediction.data.prediction_data).toFixed(2) : '暂无数据' }}
+ {{ currentPrediction?.prediction_data ? calculateMin(currentPrediction.prediction_data).toFixed(2) : '暂无数据' }}
-