fix: type error

This commit is contained in:
tangjinzhou 2021-08-29 14:09:15 +08:00
parent 83f85f240c
commit 5c2eeb7d33

View File

@ -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;
}