style(测试计划): 修复测试计划报告执行历史高度展示错误

This commit is contained in:
xinxin.wu 2024-07-18 16:04:05 +08:00 committed by 刘瑞斌
parent 27d8d1ac47
commit 71c7493e88
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template>
<a-spin :loading="loading" class="w-full">
<div class="execute-history-list">
<div :class="`${props.height || 'h-full'} execute-history-list`">
<div v-for="item of props.executeList" :key="item.status" class="execute-history-list-item">
<div class="flex items-center">
<MsAvatar :avatar="item.userLogo" />
@ -68,6 +68,7 @@
executeList: ExecuteHistoryItem[];
loading: boolean;
showStepResult?: boolean; //
height?: string;
}>();
function getStepData(steps: string) {
@ -88,7 +89,6 @@
<style scoped lang="less">
.execute-history-list {
height: calc(100vh - 240px);
@apply overflow-auto;
.ms-scroll-bar();
.execute-history-list-item {

View File

@ -195,6 +195,7 @@
v-if="activeTab === 'executionHistory'"
:execute-list="executeHistoryList"
:loading="executeLoading"
height="h-[calc(100vh-240px)]"
/>
</div>
</a-spin>