Merge pull request #1 from Tomotoes/var-fs

Add :key attribute for "v-for" to recorder.vue
This commit is contained in:
Gennady Grishkovtsov
2018-08-20 11:59:20 +03:00
committed by GitHub

View File

@@ -183,6 +183,7 @@
<div
class="ar-records__record"
:class="{'ar-records__record--selected': idx === selectedRecord.idx}"
:key="idx"
v-for="(record, idx) in recordList"
@click="selectRecord(idx, record)">
<div class="ar__text">Record {{idx + 1}}</div>