|
|
@ -145,7 +145,11 @@ const excelUploadError: UploadProps['onError'] = (): void => { |
|
|
|
} |
|
|
|
// 删除上传文件 |
|
|
|
const handleRemove = (file) => { |
|
|
|
debugger |
|
|
|
console.log(fileList.value) |
|
|
|
console.log(file.name) |
|
|
|
const findex = fileList.value.map((f) => f.name).indexOf(file.name) |
|
|
|
console.log(findex) |
|
|
|
if (findex > -1) { |
|
|
|
fileList.value.splice(findex, 1) |
|
|
|
emit('update:modelValue', listToString(fileList.value)) |
|
|
|