diff --git a/src/pages/AlarmInfoList.vue b/src/pages/AlarmInfoList.vue index a4c59bc..2c50878 100644 --- a/src/pages/AlarmInfoList.vue +++ b/src/pages/AlarmInfoList.vue @@ -351,7 +351,10 @@ onMounted(() => { const selected = ref([]); function batchHandle() { const params = selected.value.map((item) => item.id); - $q.dialog({ message: `已选择${params.length}条数据,确定一键误报吗 吗?`, cancel: true }).onOk(async () => { + $q.dialog({ + message: `已选择${params.length}条数据,确定一键误报吗?`, + cancel: true, + }).onOk(async () => { try { await recordFailAlarmInfoById(params); } catch (err) {