干扰源&谐波普测文件上传清除

This commit is contained in:
zhujiyan
2024-05-30 17:35:56 +08:00
parent 1b64e36319
commit 445ba01f40
3 changed files with 25 additions and 1 deletions

View File

@@ -67,6 +67,7 @@
:limit="5"
:on-exceed="handleExceed"
:auto-upload="false"
:on-remove="removeFile"
>
<template #trigger>
<el-button type="primary">上传文件</el-button>
@@ -208,6 +209,10 @@ const audit = (filePath: any) => {
const handleExceed: UploadProps['onExceed'] = (): void => {
ElMessage.error(`上传文件数量不能超过5个!`)
}
//移除文件上传
const removeFile = (file: any,uploadFiles:any) => {
console.log(file, uploadFiles)
}
const open = (text: string, row?: any) => {
formdata.value = Object.assign({
orgName: '',