Skip to content

Commit

Permalink
fix: fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Jul 19, 2024
1 parent d353721 commit 1698ba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ async function handleAfterRead(file: VarFile) {
<div
class="flex flex-col items-center flex-col items-center w-full md:w-[200px]"
v-for="i in light"
:key="i.color"
:key="i.key"
>
<div class="w-full h-[44px] rounded-10" :style="{ backgroundColor: i.color }"></div>
<div class="mt-3">{{ i.key }}</div>
Expand All @@ -147,7 +147,7 @@ async function handleAfterRead(file: VarFile) {
<div
class="flex flex-col items-center flex-col items-center w-full md:w-[200px]"
v-for="i in dark"
:key="i.color"
:key="i.key"
>
<div class="w-full h-[44px] rounded-10" :style="{ backgroundColor: i.color }"></div>
<div class="mt-3">{{ i.key }}</div>
Expand Down

0 comments on commit 1698ba7

Please sign in to comment.