默认头像

dev
Tuzki 2 years ago
parent d0af7e5210
commit 1f0030a92b
  1. 4
      pages/personcenter/personcenter.vue

@ -82,7 +82,7 @@ export default {
avatarUrl: '',
url: '',
username: '',
headimgurl: '',
headimgurl: 'https://www.lbgjtoa.com/appImg/icon-person-01.png',
nickname: '',
nicknames: '点击授权',
isUpdate: true,
@ -108,7 +108,7 @@ export default {
onShow() {
if (!uni.getStorageSync('unionid') || uni.getStorageSync('unionid') == '' || uni.getStorageSync('unionid') == null) {
this.isLogin = false;
this.headimgurl = '';
this.headimgurl = 'https://www.lbgjtoa.com/appImg/icon-person-01.png';
} else {
this.nickname = uni.getStorageSync('nickname');
this.nicknames = this.$util.entitiestoUtf16(this.nickname);

Loading…
Cancel
Save