fix(frontend): 修复模型路由状态列样式

This commit is contained in:
2026-06-01 00:20:41 +08:00
parent f63bdee88c
commit 8701c80f90

View File

@@ -26,7 +26,11 @@ import { modelRoutes } from '@/data/studioMock';
<span>{{ route.primary }}</span>
<span>{{ route.fallback }}</span>
<span>{{ route.latency }}</span>
<el-tag :type="route.status === '启用' ? 'success' : 'warning'">{{ route.status }}</el-tag>
<span class="status-cell">
<span class="status-pill" :class="route.status === '启用' ? 'is-success' : 'is-warning'">
{{ route.status }}
</span>
</span>
</div>
</div>
</div>