Commit 630a9df3 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

fix: 无法拖拽文件上传

See merge request !12
parents a981ec9f f5e1b260
...@@ -101,7 +101,6 @@ function handleLimitUpload(data: { file: UploadFileInfo }) { ...@@ -101,7 +101,6 @@ function handleLimitUpload(data: { file: UploadFileInfo }) {
// 上传文件 // 上传文件
async function handleUpload(file: any) { async function handleUpload(file: any) {
if (file.event) {
const formData = new FormData() const formData = new FormData()
formData.append('documentFiles', file.file.file) formData.append('documentFiles', file.file.file)
...@@ -134,7 +133,6 @@ async function handleUpload(file: any) { ...@@ -134,7 +133,6 @@ async function handleUpload(file: any) {
} }
}) })
}) })
}
} }
function handleRemoveFile(id: string) { function handleRemoveFile(id: string) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment