refactor(接口测试): 优化场景批量操作传参

This commit is contained in:
wxg0103 2024-04-23 12:13:49 +08:00 committed by 刘瑞斌
parent e92aea49e0
commit d6d5c695d4
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
</a-button> </a-button>
<a-input-search <a-input-search
v-model:model-value="keyword" v-model:model-value="keyword"
:placeholder="t('project.menu.nameSearch')" :placeholder="t('apiScenario.params.searchPlaceholder')"
allow-clear allow-clear
class="mx-[8px] w-[240px]" class="mx-[8px] w-[240px]"
@search="searchList" @search="searchList"

View File

@ -570,7 +570,7 @@
selectIds, selectIds,
selectAll: !!params?.selectAll, selectAll: !!params?.selectAll,
excludeIds: params?.excludeIds || [], excludeIds: params?.excludeIds || [],
condition: { keyword: keyword.value }, condition: { ...params?.condition, keyword: keyword.value },
projectId: appStore.currentProjectId, projectId: appStore.currentProjectId,
moduleIds: props.activeModule === 'all' ? [] : [props.activeModule], moduleIds: props.activeModule === 'all' ? [] : [props.activeModule],
}); });