Skip to content

Commit c995e1e

Browse files
committed
use key instead of track-by in benchmark
1 parent d9ce130 commit c995e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/reorder-list/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ <h1>{{ total }} Components</h1>
2020
<button @click="shuffle">shuffle</button>
2121
<button @click="add">add</button>
2222
<table class="table table-hover table-striped test-data">
23-
<row v-for="item in items" track-by="item.id"
23+
<row v-for="item in items" :key="item.id"
2424
:class="{ danger: item.id === selected }"
2525
:item="item"
2626
@select="select(item)"

0 commit comments

Comments
 (0)