diff --git a/frontend/src/views/workbench/components/bugTable.vue b/frontend/src/views/workbench/components/bugTable.vue index ffceccddb8..c4dfc46317 100644 --- a/frontend/src/views/workbench/components/bugTable.vue +++ b/frontend/src/views/workbench/components/bugTable.vue @@ -160,7 +160,7 @@ const statusOption = ref([]); async function initFilterOptions() { - const res = await getCustomOptionHeader(appStore.currentProjectId); + const res = await getCustomOptionHeader(props.project); statusOption.value = res.statusOption; const filterOptionsMaps: Record = { status: res.statusOption, diff --git a/frontend/src/views/workbench/homePage/components/apiAndScenarioCase.vue b/frontend/src/views/workbench/homePage/components/apiAndScenarioCase.vue index 9adbec290c..d04bd509d0 100644 --- a/frontend/src/views/workbench/homePage/components/apiAndScenarioCase.vue +++ b/frontend/src/views/workbench/homePage/components/apiAndScenarioCase.vue @@ -1,9 +1,9 @@