fix(接口测试): 修复接口引用关系搜索不生效的缺陷
--bug=1039629 --user=王孝刚 【接口测试】接口详细-引用关系-列表搜索框根据条件搜索功能不生效 https://www.tapd.cn/55049933/s/1500083
This commit is contained in:
parent
f37615913a
commit
c366587fc4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue