From c0fa8c8f0c22029911dc5528defb30deb0b0be49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E4=BF=9D=E6=9E=97?= Date: Mon, 13 Apr 2026 16:20:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=98=B6=E6=AE=B5=E7=9B=B4=E6=8E=A5=E8=BF=9B=E8=A1=8C=E4=BB=BF?= =?UTF-8?q?=E7=9C=9F=E7=AD=96=E5=88=92=EF=BC=8C=E9=98=B6=E6=AE=B5=E6=98=BE?= =?UTF-8?q?=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/task/projectDetail/components/baseInfo.vue | 4 ++-- src/views/task/projectDetail/index.vue | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/task/projectDetail/components/baseInfo.vue b/src/views/task/projectDetail/components/baseInfo.vue index 158ba548..0ddfd068 100644 --- a/src/views/task/projectDetail/components/baseInfo.vue +++ b/src/views/task/projectDetail/components/baseInfo.vue @@ -165,8 +165,8 @@ const updateBaseInfo = (info: any) => { } }; -const refresh = () => { - getNodeDetailFun(); +const refresh = async () => { + await getNodeDetailFun(); }; onMounted(() => { diff --git a/src/views/task/projectDetail/index.vue b/src/views/task/projectDetail/index.vue index 96759d94..728e1655 100644 --- a/src/views/task/projectDetail/index.vue +++ b/src/views/task/projectDetail/index.vue @@ -360,11 +360,13 @@ const updateCurrentProjectBaseInfo = (projectInfo: any) => { const loadcaseRef = ref(); -const completeFun = (page: string) => { +const completeFun = async (page: string) => { if (page === 'projectBasePage') { basePageRef.value.refresh(); } if (page === 'phasePage') { + // 先刷新阶段信息 (刷新currentProjectInfo.currentPhase) + await basePageRef.value.refresh(); loadcaseRef.value.refreshPhaseList(); } if (page === 'taskPlanPage') {