fix: type error

pull/4592/head
tangjinzhou 3 years ago
parent 83f85f240c
commit 5c2eeb7d33

@ -185,7 +185,10 @@ export default defineComponent({
if (result === false) {
this.handleChange({
file,
fileList: uniqBy(stateFileList.concat(fileList.map(fileToObject)), item => item.uid),
fileList: uniqBy(
stateFileList.concat(fileList.map(fileToObject)),
(item: any) => item.uid,
),
});
return false;
}

Loading…
Cancel
Save