From e2c701b0731cbc3e68efb5b92f6c6d67fcd17635 Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Wed, 10 Apr 2024 16:25:11 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AF=BC=E5=85=A5=E8=AF=B7=E6=B1=82=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=B2=A1=E6=9C=89=E7=AD=9B=E9=80=89=E5=92=8C=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1038942 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001038942 --- .../common/importApiDrawer/table.vue | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) 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 @@ +
+ + {{ t('common.reset') }} + + + {{ t('system.orgTemplate.confirm') }} + +
@@ -66,6 +74,14 @@ +
+ + {{ t('common.reset') }} + + + {{ t('system.orgTemplate.confirm') }} + +
@@ -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 = '';