mirror of
https://github.com/keven1024/015.git
synced 2026-05-26 07:08:02 +00:00
fix(front): convert layoutId to string to ensure proper rendering of speed chart items
This commit is contained in:
@@ -45,7 +45,7 @@ const handleShowSpeedInfo = () => {
|
||||
:style="{
|
||||
height: `${clamp((i.value / Math.max(...(speedChartList?.map((r) => r.value) || [1]))) * 100, 1, 100)}%`,
|
||||
}"
|
||||
:layoutId="i.timestamp"
|
||||
:layoutId="String(i.timestamp)"
|
||||
v-for="i in speedChartList"
|
||||
:key="i.timestamp"
|
||||
:initial="{ x: 10, opacity: 0 }"
|
||||
|
||||
Reference in New Issue
Block a user