干扰源&谐波普测文件上传清除
This commit is contained in:
@@ -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: '',
|
||||
|
||||
Reference in New Issue
Block a user