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') }