diff --git a/src/pages/AlarmInfoList.vue b/src/pages/AlarmInfoList.vue index 3f71812..dc4d691 100644 --- a/src/pages/AlarmInfoList.vue +++ b/src/pages/AlarmInfoList.vue @@ -185,7 +185,7 @@ async function onRequest(props: any) { current: page, size: rowsPerPage, alertType: (saveAlertTypeData as never)[filter.value.alertType], - lineId: +filter.value.lineId, + lineId: filter.value.lineId, }); const pageData = response; pagination.value.rowsNumber = pageData.total; @@ -214,7 +214,7 @@ onMounted(() => { const searchDialog = ref(false); const filter = ref({ alertType: '', - lineId: '', + lineId: undefined, }); const optionsAlertType = [ '蓝显', @@ -240,7 +240,7 @@ function searchDecisionInfo() { tableRef.value.requestServerInteraction(); } finally { setTimeout(() => { - filter.value = { alertType: '', lineId: '' }; + filter.value = { alertType: '', lineId: undefined }; }); } }