fix(接口管理): 修复用例详情执行历史表格有搜索框以及更改操作按钮样式问题

This commit is contained in:
guoyuqi 2024-03-21 16:30:20 +08:00 committed by Craftsman
parent 3d0a99adef
commit daab02a2f9
3 changed files with 5 additions and 3 deletions

View File

@ -11,7 +11,7 @@
is-case-detail
/>
<a-dropdown position="br" :hide-on-select="false" @select="handleSelect">
<a-button v-if="!props.isDrawer">{{ t('common.operation') }}</a-button>
<a-button v-if="!props.isDrawer" type="outline">{{ t('common.operation') }}</a-button>
<template #content>
<a-doption v-permission="['PROJECT_API_DEFINITION_CASE:READ+UPDATE']" value="edit">
<MsIcon type="icon-icon_edit_outlined" />

View File

@ -128,5 +128,6 @@
flex-direction: row;
align-items: center;
justify-content: space-between;
padding-bottom: 16px;
}
</style>

View File

@ -2,14 +2,14 @@
<div class="history-container">
<div class="history-table-before">
<span class="text-[var(--color-text-1)]">{{ t('case.detail.execute.history.list') }}</span>
<a-input-search
<!-- <a-input-search
v-model:model-value="keyword"
:placeholder="t('apiTestManagement.quoteSearchPlaceholder')"
allow-clear
class="mr-[8px] w-[240px]"
@search="loadExecuteList"
@press-enter="loadExecuteList"
/>
/>-->
</div>
<ms-base-table v-bind="propsRes" no-disable v-on="propsEvent">
<template #triggerModeFilter="{ columnConfig }">
@ -275,5 +275,6 @@
justify-content: space-between;
align-items: center;
flex-direction: row;
margin-bottom: 21px;
}
</style>