style(测试计划): 功能用例详情-执行历史-执行时是文本描述不显示步骤详情按钮
This commit is contained in:
parent
626b423396
commit
87c50418b9
|
@ -268,6 +268,7 @@ export interface ExecuteHistoryItem {
|
||||||
steps: string;
|
steps: string;
|
||||||
createTime: string;
|
createTime: string;
|
||||||
deleted: boolean;
|
deleted: boolean;
|
||||||
|
isStep: boolean; // 类型是:步骤描述
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface moduleForm {
|
export interface moduleForm {
|
||||||
|
|
|
@ -8,8 +8,13 @@
|
||||||
<a-tooltip :content="item.userName" :mouse-enter-delay="300">
|
<a-tooltip :content="item.userName" :mouse-enter-delay="300">
|
||||||
<div class="one-line-text max-w-[300px] font-medium text-[var(--color-text-1)]">{{ item.userName }}</div>
|
<div class="one-line-text max-w-[300px] font-medium text-[var(--color-text-1)]">{{ item.userName }}</div>
|
||||||
</a-tooltip>
|
</a-tooltip>
|
||||||
<a-divider v-if="props.showStepDetailTrigger" direction="vertical" margin="8px"></a-divider>
|
<a-divider v-if="props.showStepDetailTrigger && item.isStep" direction="vertical" margin="8px"></a-divider>
|
||||||
<a-trigger v-if="props.showStepDetailTrigger" trigger="click" position="bottom" :popup-translate="[0, 4]">
|
<a-trigger
|
||||||
|
v-if="props.showStepDetailTrigger && item.isStep"
|
||||||
|
trigger="click"
|
||||||
|
position="bottom"
|
||||||
|
:popup-translate="[0, 4]"
|
||||||
|
>
|
||||||
<MsButton type="text" class="!mr-0">
|
<MsButton type="text" class="!mr-0">
|
||||||
{{ t('system.orgTemplate.stepDetail') }}
|
{{ t('system.orgTemplate.stepDetail') }}
|
||||||
</MsButton>
|
</MsButton>
|
||||||
|
|
Loading…
Reference in New Issue