fix(admin): show category labels in ops error distribution legend

This commit is contained in:
feitianbubu
2026-08-16 18:04:52 +08:00
parent baeac1f3de
commit e8ff2017c0
@@ -146,7 +146,7 @@ const options = computed(() => ({
<div class="flex flex-wrap justify-center gap-3">
<div v-for="item in categories" :key="item.label" class="flex items-center gap-1.5 text-xs">
<span class="h-2 w-2 rounded-full" :style="{ backgroundColor: item.color }"></span>
<span class="text-gray-500 dark:text-gray-400">{{ item.count }}</span>
<span class="text-gray-500 dark:text-gray-400">{{ item.label }} {{ item.count }}</span>
</div>
</div>
</div>