From c51c6d7243355eb08d688059171e018e9de7b7d5 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Thu, 21 Dec 2023 17:18:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=87=E6=A1=A3=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/views/document/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/src/views/document/index.vue b/ui/src/views/document/index.vue index 99f7f777b..5dc712b6a 100644 --- a/ui/src/views/document/index.vue +++ b/ui/src/views/document/index.vue @@ -131,7 +131,10 @@ const paginationConfig = reactive({ */ const initInterval = () => { interval = setInterval(() => { - if (documentData.value.length > 0 && documentData.value.every((item) => item.status === '0')) { + if ( + documentData.value.length > 0 && + documentData.value.some((item) => item.status === '0' || item.status === '2') + ) { getList(true) } }, 6000)