scorpio 2 years ago
parent
commit
93ff72d7db
1 changed files with 3 additions and 2 deletions
  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',
             method: 'POST',
             headers: this.headers,
             headers: this.headers,
             body: form
             body: form
+          }).then(res => {
+            console.log(res)
           })
           })
-          // Perhaps you should add the setting appropriate file format here
-        }, 'image/jpeg')
+        }, 'image/png')
       }
       }
     }
     }
   }
   }