From c366587fc4b53a1af2f4acd3c265469268eded30 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Wed, 17 Apr 2024 18:09:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=A3=E5=BC=95=E7=94=A8=E5=85=B3?= =?UTF-8?q?=E7=B3=BB=E6=90=9C=E7=B4=A2=E4=B8=8D=E7=94=9F=E6=95=88=E7=9A=84?= =?UTF-8?q?=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1039629 --user=王孝刚 【接口测试】接口详细-引用关系-列表搜索框根据条件搜索功能不生效 https://www.tapd.cn/55049933/s/1500083 --- .../components/management/api/preview/quote.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/api-test/management/components/management/api/preview/quote.vue b/frontend/src/views/api-test/management/components/management/api/preview/quote.vue index 54d965b334..48e958b3dc 100644 --- a/frontend/src/views/api-test/management/components/management/api/preview/quote.vue +++ b/frontend/src/views/api-test/management/components/management/api/preview/quote.vue @@ -38,7 +38,10 @@ const keyword = ref(''); const quoteLocaleMap = { COPY: 'common.copy', - QUOTE: 'apiTestManagement.quote', + REF: 'apiTestManagement.quote', + }; + const resourceLocaleMap = { + API: 'case.detail.resource.api', }; const columns: MsTableColumn = [ @@ -87,12 +90,14 @@ }, (item) => ({ ...item, - type: t(quoteLocaleMap[item.type] || ''), + refType: t(quoteLocaleMap[item.refType] || ''), + resourceType: t(resourceLocaleMap[item.resourceType] || ''), }) ); function loadQuoteList() { setLoadListParams({ + keyword: keyword.value, resourceId: props.sourceId, }); loadList();