fix(测试计划): 修复测试计划详情执行历史展示错误

This commit is contained in:
xinxin.wu 2024-08-21 10:50:27 +08:00 committed by Craftsman
parent 756fbddcd6
commit d6ac94407f
2 changed files with 2 additions and 1 deletions

View File

@ -257,6 +257,7 @@ export interface PassRateCountDetail {
// 执行历史 // 执行历史
export interface ExecuteHistoryItem { export interface ExecuteHistoryItem {
id: string;
status: string; status: string;
content: string; content: string;
contentText: string; contentText: string;

View File

@ -1,7 +1,7 @@
<template> <template>
<a-spin :loading="loading" class="w-full"> <a-spin :loading="loading" class="w-full">
<div :class="`${props.height || 'h-full'} 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 v-for="item of props.executeList" :key="item.id" class="execute-history-list-item">
<div class="flex items-center"> <div class="flex items-center">
<MsAvatar :avatar="item.userLogo" /> <MsAvatar :avatar="item.userLogo" />
<div class="ml-[8px] flex items-center"> <div class="ml-[8px] flex items-center">