From 2a2f57bb52bcc97a3e37c225ec6306ac97ac8f7e Mon Sep 17 00:00:00 2001 From: "xinxin.wu" Date: Mon, 25 Nov 2024 11:20:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=9F=B1=E7=8A=B6=E5=9B=BE?= =?UTF-8?q?x=E8=BD=B4label=E5=B1=95=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/workbench/homePage/components/overviewMember.vue | 3 ++- frontend/src/views/workbench/homePage/utils.ts | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/workbench/homePage/components/overviewMember.vue b/frontend/src/views/workbench/homePage/components/overviewMember.vue index 8948e27392..7c48d8df14 100644 --- a/frontend/src/views/workbench/homePage/components/overviewMember.vue +++ b/frontend/src/views/workbench/homePage/components/overviewMember.vue @@ -57,7 +57,7 @@ import { contentTabList } from '@/config/workbench'; import { useI18n } from '@/hooks/useI18n'; import useAppStore from '@/store/modules/app'; - import { characterLimit } from '@/utils'; + import { characterLimit, sleep } from '@/utils'; import type { OverViewOfProject, SelectedCardItem, TimeFormParams } from '@/models/workbench/homePage'; @@ -241,6 +241,7 @@ watch([() => props.refreshKey, () => projectId.value], async () => { await nextTick(); initOverViewMemberDetail(); + await sleep(50); if (props.item.projectIds.length) { getMemberOptions(); } diff --git a/frontend/src/views/workbench/homePage/utils.ts b/frontend/src/views/workbench/homePage/utils.ts index 9cc2a7670f..325c4b60de 100644 --- a/frontend/src/views/workbench/homePage/utils.ts +++ b/frontend/src/views/workbench/homePage/utils.ts @@ -132,6 +132,7 @@ export function getCommonBarOptions(hasRoom: boolean, color: string[]): Record