bug:圈住的地方缺少一个上传附件进度条
This commit is contained in:
@@ -849,7 +849,7 @@
|
||||
accept=".pdf, .PDF, .ppt, .PPT, .pptx,.PPTX, .doc, .DOC, .docx, .DOCX, .xls, .xlsx"
|
||||
:before-upload="beginImportFile"
|
||||
:on-success="importFileSuccess"
|
||||
:show-file-list="false"
|
||||
:show-file-list="true"
|
||||
>
|
||||
<div style="padding: 20px 0">
|
||||
<i class="el-icon-upload" style="color: #3399ff"></i>
|
||||
@@ -1964,7 +1964,11 @@
|
||||
return true
|
||||
},
|
||||
// 导入标准数据成功后执行
|
||||
importFileSuccess (response, file) {
|
||||
importFileSuccess (response, file,fileList) {
|
||||
// 上传成功后判断是否是两条数据是的话替换掉旧数据
|
||||
if (fileList.length > 1) {
|
||||
fileList.splice(0, 1)
|
||||
}
|
||||
if (response.ok) {
|
||||
this.fileMadel = false
|
||||
if(this.fileType === 'fbgbjbd'){
|
||||
|
||||
Reference in New Issue
Block a user