diff --git a/frontend/src/views/workbench/homePage/components/overview.vue b/frontend/src/views/workbench/homePage/components/overview.vue index 71cabf594d..1096b0ab77 100644 --- a/frontend/src/views/workbench/homePage/components/overview.vue +++ b/frontend/src/views/workbench/homePage/components/overview.vue @@ -188,7 +188,7 @@ })(countData), }; }); - options.value.yAxis[0].max = maxAxis < 100 ? 50 : maxAxis + 50; + options.value.yAxis[0].max = maxAxis < 100 ? 100 : maxAxis + 50; } async function initOverViewDetail() { diff --git a/frontend/src/views/workbench/homePage/components/overviewMember.vue b/frontend/src/views/workbench/homePage/components/overviewMember.vue index d33ffed5bb..4a426d4d44 100644 --- a/frontend/src/views/workbench/homePage/components/overviewMember.vue +++ b/frontend/src/views/workbench/homePage/components/overviewMember.vue @@ -29,7 +29,7 @@ :prefix="t('workbench.homePage.staff')" :multiple="true" :has-all-select="true" - :default-all-select="innerSelectAll" + :default-all-select="innerHandleUsers.length === 0" @change="changeMember" > @@ -146,7 +146,7 @@ })(countData), }; }); - options.value.yAxis[0].max = maxAxis < 100 ? 50 : maxAxis + 50; + options.value.yAxis[0].max = maxAxis < 100 ? 100 : maxAxis + 50; } async function initOverViewMemberDetail() { @@ -171,7 +171,6 @@ } } - const innerSelectAll = ref(false); async function getMemberOptions() { const [newProjectId] = innerProjectIds.value; const res = await workProjectMemberOptions(newProjectId); @@ -179,7 +178,6 @@ label: e.name, value: e.id, })); - innerSelectAll.value = memberIds.value.length === memberOptions.value.length; } function changeProject() {