fix(Uploader): can't get index in delete event #7481

This commit is contained in:
chenjiahan
2020-11-03 20:51:37 +08:00
parent e80d2fe09c
commit c4d06005f0
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -238,6 +238,7 @@ export default createComponent({
<PreviewItem
v-slots={{ 'preview-cover': slots['preview-cover'] }}
item={item}
index={index}
onClick={() => {
emit('click-preview', item, getDetail(index));
}}