修复版本管理编辑报错
This commit is contained in:
parent
2a1422d281
commit
d88276f366
|
|
@ -127,7 +127,7 @@ export default {
|
|||
let fileRes=''
|
||||
const file = this.$refs.uploadFile.getFileList();
|
||||
if(!this.hasUpload&&file){
|
||||
this.loadingText='文件上传中,请耐心等待。。。!'
|
||||
this.loadingText='文件上传中,请耐心等待...'
|
||||
this.loading = true;
|
||||
fileRes = await $uploadVersionFile(file, { name:version });
|
||||
this.loading = false;
|
||||
|
|
|
|||
|
|
@ -113,6 +113,7 @@ export default {
|
|||
this.$emit("remove", arr);
|
||||
},
|
||||
clearFiles() {
|
||||
this.fileList=[];
|
||||
this.$refs.upload.clearFiles();
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue