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')
       }
     }
   }