|
|
@@ -61,6 +61,17 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ async getuserinfonew() {
|
|
|
+ const res = await this.$myRequest({
|
|
|
+ url: '/api/v2/theme/home/info/',
|
|
|
+ })
|
|
|
+ if(res.items && res.items.logo_url){
|
|
|
+ this.userinfos.image = res.items.logo_url
|
|
|
+ } else{
|
|
|
+ this.userinfos.image = ''
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
async getUsermsg(user) {
|
|
|
const res = await this.$myRequest({
|
|
|
url: '/api/api_gateway?method=home.homes.personal_center',
|
|
|
@@ -70,6 +81,7 @@
|
|
|
})
|
|
|
console.log(res)
|
|
|
this.userinfos = res
|
|
|
+ this.getuserinfonew()
|
|
|
}, //user.login.logout_user
|
|
|
async getlogout() {
|
|
|
const res = await this.$myRequest({
|