bug修复
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
:on-exceed="BaseHandleExceed"
|
||||
:on-remove="BaseHandleRemove"
|
||||
style="width: 100% !important;"
|
||||
accept=".docx"
|
||||
class="upload-container"
|
||||
>
|
||||
<el-button type="primary">选择文件</el-button>
|
||||
@@ -33,6 +34,7 @@
|
||||
:on-exceed="DataHandleExceed"
|
||||
:on-remove="DataHandleRemove"
|
||||
style="width: 100% !important;"
|
||||
accept=".docx"
|
||||
class="upload-container"
|
||||
>
|
||||
<el-button type="primary">选择文件</el-button>
|
||||
@@ -254,7 +256,7 @@ const BaseHandleChange = async(param : UploadFile) => {
|
||||
baseFileName.value = param.name;
|
||||
baseFileUrl.value = URL.createObjectURL(param.raw as Blob);
|
||||
excelFormData.append('baseFile', param.raw as Blob, param.name);
|
||||
|
||||
|
||||
formContent.value.baseFile = param.name;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user