Ver Fonte

直接上传logo,无需先清除

Michael Wang há 4 anos atrás
pai
commit
4b10ae0b1c
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/features/system/OrgManagement/UploadFile.vue

+ 1 - 0
src/features/system/OrgManagement/UploadFile.vue

@@ -56,6 +56,7 @@ export default {
     },
     async handleChange(file) {
       console.log("change", file);
+      this.fileList = [file];
       if (!file?.raw) return;
       file = file.raw;
       async function blobToArray(blob) {