This commit is contained in:
橙子
2021-11-03 19:20:38 +08:00
parent b0a7408177
commit 2e4f024928
3 changed files with 8 additions and 6 deletions

View File

@@ -334,7 +334,7 @@ choiceImg() {
const file = this.$refs.imgFile.files[0];
let formData = new FormData();
formData.append("img", file);
fileApi.Upload(formData).then(resp=>{
fileApi.EditIcon(formData).then(resp=>{
this.init();
})
},