fix(测试计划): 抽屉提示文字修改
--bug=1042697 --user=王旭 【测试计划】计划详情-关联接口用例抽屉-搜索接口用例-只支持ID或名称,不应该支持路径搜索 https://www.tapd.cn/55049933/s/1533491
This commit is contained in:
parent
0c9fbb643a
commit
3ddcdaa450
|
@ -136,7 +136,7 @@
|
|||
:filter-config-list="[]"
|
||||
:custom-fields-config-list="[]"
|
||||
:row-count="0"
|
||||
:search-placeholder="t('common.searchByIdName')"
|
||||
:search-placeholder="searchPlaceholder"
|
||||
@keyword-search="loadCaseList"
|
||||
@adv-search="loadCaseList"
|
||||
@refresh="loadCaseList"
|
||||
|
@ -369,6 +369,19 @@
|
|||
}
|
||||
});
|
||||
|
||||
const searchPlaceholder = computed(() => {
|
||||
switch (associationType.value) {
|
||||
case CaseLinkEnum.FUNCTIONAL:
|
||||
return t('common.searchByIdName');
|
||||
case CaseLinkEnum.API:
|
||||
return t('apiTestManagement.searchPlaceholder');
|
||||
case CaseLinkEnum.SCENARIO:
|
||||
return t('common.searchByIdName');
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* 处理模块树节点选中事件
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue