use key instead of track-by in benchmark

This commit is contained in:
Evan You 2016-06-08 13:09:45 -04:00
parent d9ce1306e1
commit c995e1eaca
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@
<button @click="shuffle">shuffle</button>
<button @click="add">add</button>
<table class="table table-hover table-striped test-data">
<row v-for="item in items" track-by="item.id"
<row v-for="item in items" :key="item.id"
:class="{ danger: item.id === selected }"
:item="item"
@select="select(item)"