fix(frontend): 修复Studio原型表格与时间线样式

This commit is contained in:
2026-06-01 00:11:10 +08:00
parent 1d89bc89fe
commit f63bdee88c
4 changed files with 62 additions and 4 deletions

View File

@@ -25,7 +25,11 @@ import { recentRuns, traceSteps } from '@/data/studioMock';
<div v-for="run in recentRuns" :key="run.id" class="run-row">
<strong>{{ run.name }}</strong>
<span>{{ run.type }}</span>
<el-tag :type="run.status === '成功' ? 'success' : 'warning'">{{ run.status }}</el-tag>
<span class="status-cell">
<span class="status-pill" :class="run.status === '成功' ? 'is-success' : 'is-warning'">
{{ run.status }}
</span>
</span>
<span>{{ run.latency }}</span>
<span>{{ run.cost }}</span>
</div>