wenbobowen 4 lat temu
rodzic
commit
38a3bfff22
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/components/input/normalArea.vue

+ 1 - 1
src/components/input/normalArea.vue

@@ -155,7 +155,7 @@ export default {
       // var blob = new Blob([ab], {type: 'image/jpeg'});
       var fd = new FormData();
       
-      fd.append('file', base64Url2Blob(imgData));
+      fd.append('file', this.base64Url2Blob(imgData));
       fd.append('innerPublic',true);
       const config = {
         headers: {