From 32357f71558fd5ad8f6f2820090042fbd2a71512 Mon Sep 17 00:00:00 2001 From: jinna Date: Tue, 29 Aug 2023 09:57:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AA=E4=BA=BA=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E6=98=B5=E7=A7=B0=E6=8E=88=E6=9D=83=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pages_zhentou/myPage/myPage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/pages_zhentou/myPage/myPage.vue b/pages/pages_zhentou/myPage/myPage.vue index 1f1f2a4..3453526 100644 --- a/pages/pages_zhentou/myPage/myPage.vue +++ b/pages/pages_zhentou/myPage/myPage.vue @@ -63,6 +63,7 @@ let userInfo = uni.getStorageSync('userInfo'); if (userInfo) { this.userInfo = JSON.parse(userInfo); + console.log(userInfo) this.userInfo.avatar = this.userInfo.avatar ? this.userInfo.avatar : this.avatarUrl; } else { this.userInfo.avatar = this.avatarUrl; @@ -71,10 +72,9 @@ methods: { //获取昵称 formSubmit(e) { - console.log(e.detail) - if(e.detail.value && e.detail.value != this.userInfo.username) { + // if(e.detail.value && e.detail.value != this.userInfo.username) { this.updateNickname(e.detail.value); - } + // } }, //获取头像 chooseavatar(e) {