diff --git a/frontend/src/config/workbench.ts b/frontend/src/config/workbench.ts index 8a64339fb0..9d1039472b 100644 --- a/frontend/src/config/workbench.ts +++ b/frontend/src/config/workbench.ts @@ -186,7 +186,7 @@ export const defaultValueMap: Record = { }, complete: { defaultList: cloneDeep(defaultComplete), - color: ['#00C261', '#3370FF', '#D4D4D8'], + color: ['#00C261', '#3370FF', '#D4D4D8', '#FF9964'], defaultName: 'workbench.homePage.completeRate', }, }, diff --git a/frontend/src/views/workbench/homePage/components/defectMemberBar.vue b/frontend/src/views/workbench/homePage/components/defectMemberBar.vue index 7c203fdceb..bea1081f48 100644 --- a/frontend/src/views/workbench/homePage/components/defectMemberBar.vue +++ b/frontend/src/views/workbench/homePage/components/defectMemberBar.vue @@ -97,10 +97,7 @@ const hasPermission = ref(false); function handleData(detail: OverViewOfProject) { - options.value = getCommonBarOptions(detail.xaxis.length >= 7, [ - ...defectStatusColor, - ...getColorScheme(detail.xaxis.length), - ]); + options.value = getCommonBarOptions(detail.xaxis.length >= 7, [...defectStatusColor, ...getColorScheme(13)]); const { invisible, text } = handleNoDataDisplay(detail.xaxis, hasPermission.value); options.value.graphic.invisible = invisible; options.value.graphic.style.text = text; diff --git a/frontend/src/views/workbench/homePage/components/testPlanCount.vue b/frontend/src/views/workbench/homePage/components/testPlanCount.vue index d82b8ea32b..bd86beff90 100644 --- a/frontend/src/views/workbench/homePage/components/testPlanCount.vue +++ b/frontend/src/views/workbench/homePage/components/testPlanCount.vue @@ -20,7 +20,7 @@
- +