From 7263bc316169af0e820ba87a6a64edb7bdd11d1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BF=97=E5=9B=BD?= <854933521@qq.com> Date: Mon, 28 Oct 2024 08:46:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=BE=E7=A4=BAui=E9=97=AE=E9=A2=98=202024/8?= =?UTF-8?q?/5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/repleinsh/job/repleinshDetail.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/repleinsh/job/repleinshDetail.vue b/src/pages/repleinsh/job/repleinshDetail.vue index 7f7e25fb..e2c29367 100644 --- a/src/pages/repleinsh/job/repleinshDetail.vue +++ b/src/pages/repleinsh/job/repleinshDetail.vue @@ -166,9 +166,13 @@ const getDetail = () => { if (scanMessage.value) { comScanIssuePackRef.value.openScanPopupForJobSimulate(detailSource.value, jobContent.value, scanMessage.value) } - setTimeout((r) => { + let timer = setTimeout((r) => { resizeCollapse() - }, 100) + if(timer){ + timer = null + clearTimeout(timer) + } + }, 1000) } else { showMessage('列表数据为0') }