scorpio преди 2 години
родител
ревизия
93ff72d7db
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  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')
       }
     }
   }