From 582fbbcfc011781f3ca818fc48651767cc1a1e0c Mon Sep 17 00:00:00 2001 From: xuechunyuan <17853500702@163.com> Date: Fri, 25 Aug 2023 11:04:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=95=86=E5=93=81=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E9=A1=B5=E9=9D=A2=E5=94=A4=E9=86=92=E5=8D=B3=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E5=8A=A0=E8=BD=BD=EF=BC=9B=E6=88=91=E7=9A=84=E5=A4=B4?= =?UTF-8?q?=E5=83=8F=E5=92=8C=E6=98=B5=E7=A7=B0=E7=94=A8=E6=88=B7=E6=9C=AA?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E7=8A=B6=E6=80=81=E6=94=B9=E4=B8=BA=E4=B8=8D?= =?UTF-8?q?=E5=8F=AF=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/pages_zhentou/myPage/myPage.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pages/pages_zhentou/myPage/myPage.vue b/pages/pages_zhentou/myPage/myPage.vue index 0797347..1f1f2a4 100644 --- a/pages/pages_zhentou/myPage/myPage.vue +++ b/pages/pages_zhentou/myPage/myPage.vue @@ -3,15 +3,17 @@ 头像 - + 昵称 - + @@ -70,7 +72,7 @@ //获取昵称 formSubmit(e) { console.log(e.detail) - if(e.detail.value) { + if(e.detail.value && e.detail.value != this.userInfo.username) { this.updateNickname(e.detail.value); } },