fix: type error

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

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

Loading…
Cancel
Save