diff --git a/frontend/src/views/api-test/scenario/components/common/importApiDrawer/table.vue b/frontend/src/views/api-test/scenario/components/common/importApiDrawer/table.vue index 4f9aa36851..ff154747e9 100644 --- a/frontend/src/views/api-test/scenario/components/common/importApiDrawer/table.vue +++ b/frontend/src/views/api-test/scenario/components/common/importApiDrawer/table.vue @@ -43,6 +43,14 @@ +
@@ -66,6 +74,14 @@ + @@ -454,9 +470,23 @@ function handleFilterHidden(val: boolean) { if (!val) { loadPage(); + methodFilterVisible.value = false; + statusFilterVisible.value = false; } } + function resetMethodFilter() { + methodFilters.value = []; + methodFilterVisible.value = false; + loadPage(); + } + + function resetStatusFilter() { + statusFilters.value = []; + statusFilterVisible.value = false; + loadPage(); + } + function resetTable() { currentTable.value.resetSelector(); keyword.value = '';