事件展示-设备告警稳态越限告警暂态事件列表-数据来源deviceId参数传递条件修改

This commit is contained in:
zhujiyan
2024-10-09 14:06:24 +08:00
parent 7bb9c23543
commit ca488a0793
3 changed files with 21 additions and 7 deletions

View File

@@ -158,6 +158,11 @@ const tableStore = new TableStore({
]
}
],
beforeSearchFun: () => {
if (!tableStore.table.params.deviceId) {
delete tableStore.table.params.deviceId
}
},
loadCallback: () => {
tableStore.table.data.forEach((item: any) => {
item.loading = false