CN-1356 fix: 恢复link蜂窝图接口返回的数个数值均相等时无法正确显示的问题

This commit is contained in:
chenjinsong
2023-09-26 21:02:55 +08:00
parent ceb9a10293
commit 2894eaf7e4
4 changed files with 78 additions and 6 deletions

View File

@@ -19,7 +19,7 @@
<template #reference>
<div class="block-list__block" :key="index" @click="drillLinkId(item)">
<span class="block-hex">
<span class="block-hex-in" :style="`background-color: ${item.color}`"></span>
<span class="block-hex-in" :test-id="`linkBlock${index}`" :style="`background-color: ${item.color}`"></span>
</span>
</div>
</template>
@@ -72,7 +72,7 @@
<template #reference>
<div class="block-list__block" :key="index" @click="drillNextHop(item)">
<span class="block-hex">
<span class="block-hex-in" :style="`background-color: ${item.color}`"></span>
<span class="block-hex-in" :test-id="`nextHopBlock${index}`" :style="`background-color: ${item.color}`"></span>
</span>
</div>
</template>