scorpio 2 years ago
parent
commit
f645420a05
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/dash/compoents/profile.vue

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

@@ -236,6 +236,8 @@ export default {
             body: form
             body: form
           }).then(response => {
           }).then(response => {
             const { status, data = {} } = response
             const { status, data = {} } = response
+            console.log(status, data)
+            console.log(response)
             if (status >= 200 && status <= 401) {
             if (status >= 200 && status <= 401) {
               this.updateAvatar(data.data.filePath)
               this.updateAvatar(data.data.filePath)
             }
             }