bug修复

This commit is contained in:
chenlin
2025-12-13 18:14:32 +08:00
parent 8f4bf593dc
commit 3e9ac2b357
6 changed files with 210 additions and 134 deletions

View File

@@ -374,9 +374,9 @@ const loadDashboardData = async (): Promise<void> => {
try {
// 获取风险预警详情数据
getTableList('risk_alert_detail', query).then(risk_alert_detail => {
if (risk_alert_detail.records && risk_alert_detail.records.length > 0) {
dashboardData.value.alertData.details = risk_alert_detail.records
}
// if (risk_alert_detail.records && risk_alert_detail.records.length > 0) {
dashboardData.value.alertData.details = risk_alert_detail.records || []
// }
}).catch(error => {
console.error('获取风险预警详情数据失败:', error)
})