修复版本管理编辑报错

This commit is contained in:
YeMingfei666 2024-09-05 11:06:13 +08:00
parent 2a1422d281
commit d88276f366
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -113,6 +113,7 @@ export default {
this.$emit("remove", arr);
},
clearFiles() {
this.fileList=[];
this.$refs.upload.clearFiles();
},
},