bug修复
This commit is contained in:
@@ -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)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user