scorpio před 2 roky
rodič
revize
93ff72d7db
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  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')
       }
     }
   }