Skip to content

Commit 2b1828c

Browse files
committed
refactor: CPagination: correct item key assignment
1 parent cf58305 commit 2b1828c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/pagination/CPagination.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
</li>
3333

3434
<li
35-
v-for="(item, index) in items"
36-
:key="index"
35+
v-for="item in items"
36+
:key="item"
3737
:class="[{ 'active': activePage === item }, 'page-item']"
3838
>
3939
<CLink

0 commit comments

Comments
 (0)