fix(upload): fix upload list remove animation incorrect (#1379)

fix upload list remove animation incorrect

fix #1376
This commit is contained in:
xyorz 2021-02-01 00:35:48 -06:00 committed by GitHub
parent c8d1f8ad10
commit f7ed9ca68c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,8 @@
name="el-list"
>
<li
v-for="(file, idx) in files"
:key="idx"
v-for="file in files"
:key="file"
:class="['el-upload-list__item', 'is-' + file.status, focusing ? 'focusing' : '']"
tabindex="0"
@keydown.delete="!disabled && handleRemove($event, file)"