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