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