Skip to content

Commit

Permalink
fix: lazyload (#93)
Browse files Browse the repository at this point in the history
* fix: use correct key

* docs: add cvlist
  • Loading branch information
daflyinbed authored Mar 26, 2024
1 parent 1555c45 commit 7d335ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- 不期而遇事件 [Widget:IsEvent/dev](https://prts.wiki/w/Widget:ISEvent/dev)
- 生息演算地图 [Widget:XbMapViewer/dev](https://prts.wiki/w/Widget:XbMapViewer/dev)
- 蚀刻章(光荣之路)[Widget:MedalList/dev](https://prts.wiki/w/Widget:MedalList/dev)
- 配音一览 [Widget:CVList/dev](https://prts.wiki/w/Widget:CVList/dev)

## 项目配置

Expand Down
5 changes: 3 additions & 2 deletions src/widgets/EnemiesListV2/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ export default defineComponent({
v-show="!isIconMode"
ref="table"
class="my-2"
:row-key="(row) => row.name"
:columns="columns"
:data="enemyData"
:pagination="pagination"
Expand All @@ -518,8 +519,8 @@ export default defineComponent({
/>
<div v-if="isIconMode">
<a
v-for="(row, index) in filteredChunkedEnemyData"
:key="index"
v-for="row in filteredChunkedEnemyData"
:key="row.name"
:href="`/w/${row.enemyLink}`"
>
<img
Expand Down

0 comments on commit 7d335ce

Please sign in to comment.