From 0686831059681699d56aef82d696f6abcf16d1b1 Mon Sep 17 00:00:00 2001 From: joylink_zhaoerwei Date: Thu, 14 Sep 2023 13:38:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/AlarmInfoList.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }; }); } }