scorpio 2 vuotta sitten
vanhempi
commit
93ff72d7db
1 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. 3 2
      src/views/dash/compoents/profile.vue

+ 3 - 2
src/views/dash/compoents/profile.vue

@@ -233,9 +233,10 @@ export default {
             method: 'POST',
             headers: this.headers,
             body: form
+          }).then(res => {
+            console.log(res)
           })
-          // Perhaps you should add the setting appropriate file format here
-        }, 'image/jpeg')
+        }, 'image/png')
       }
     }
   }