From ce4d02086f49dd017be580d119c2ac971f26bb0a Mon Sep 17 00:00:00 2001 From: chenwenchang <479999519@qq.com> Date: Wed, 15 Jan 2025 10:15:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E4=B8=B4=E6=97=B6=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E4=BF=AE=E6=94=B9=5F=E8=BD=AE=E8=AF=A2=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=8A=A5=E9=94=99=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=20#8250=20#=20Reviewed,=20transaction=20id:=2029332?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/UpdateResult.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dbm-ui/frontend/src/views/temporary-paassword-modify/components/UpdateResult.vue b/dbm-ui/frontend/src/views/temporary-paassword-modify/components/UpdateResult.vue index 5788d5488c..980d55de2f 100644 --- a/dbm-ui/frontend/src/views/temporary-paassword-modify/components/UpdateResult.vue +++ b/dbm-ui/frontend/src/views/temporary-paassword-modify/components/UpdateResult.vue @@ -164,13 +164,6 @@ const passwordDisplay = computed(() => (isShowPassword.value ? props.password : '********')); - // 轮询 - const { isActive, resume, pause } = useTimeoutPoll(() => { - queryAsyncModifyResultRun({ - root_id: props.rootId, - }); - }, 2000); - const getInstanceList = (list: ServiceReturnType['success'] = []) => { const arr: string[] = []; list.forEach((item) => { @@ -209,6 +202,13 @@ }, }); + // 轮询 + const { isActive, resume, pause } = useTimeoutPoll(() => { + queryAsyncModifyResultRun({ + root_id: props.rootId, + }); + }, 2000); + watch( () => props.rootId, () => {