检查项 detail 与结果 summary 文案完全相同时只保留 summary,避免同一结论重复渲染两次。
This commit is contained in:
@@ -163,7 +163,7 @@
|
||||
<div v-for="check in operation.result?.checks || []" :key="`${check.name}-${check.status}`" class="check-row">
|
||||
<span>{{ check.name }}</span>
|
||||
<em :class="`check-row__status--${check.status.toLowerCase()}`">{{ probeStatusLabel(check.status) }}</em>
|
||||
<small>{{ check.detail }}</small>
|
||||
<small v-if="check.detail && check.detail !== operation.result?.summary">{{ check.detail }}</small>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user