From e5ce19539d720f77b4da3910affe036a0b4d9102 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Fri, 28 Jun 2024 16:07:36 +0800 Subject: [PATCH] =?UTF-8?q?Fix(=E7=94=A8=E6=88=B7):[#1899]=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E6=98=B5=E7=A7=B0=E9=99=90=E5=88=B6=E6=9C=80=E5=A4=9A?= =?UTF-8?q?12=E4=B8=AA=E5=AD=97=EF=BC=8C=E4=B8=8D=E8=83=BD=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E8=B6=85=E8=BF=8712=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/authorization/index.vue | 1 + pkg_user/views/personalData.vue | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pages/authorization/index.vue b/pages/authorization/index.vue index 5b0c691..ecf57d0 100644 --- a/pages/authorization/index.vue +++ b/pages/authorization/index.vue @@ -53,6 +53,7 @@ 昵称 - + @@ -122,6 +126,7 @@ export default { return { webUrl: this.$VUE_APP_RESOURCES_URL, avatar: '', + nickname: '', isWeixin: false, currentAccounts: 0, switchUserInfo: [], @@ -138,6 +143,7 @@ export default { computed: mapGetters(['userInfo']), mounted: function () { this.avatar = this.userInfo.avatar + this.nickname = this.userInfo.nickname this.form.gender = this.userInfo.gender this.form.birthday = this.userInfo.birthday || '' this.isWeixin = isWeixin() @@ -194,7 +200,7 @@ export default { submit: function () { const that = this postUserEdit({ - nickname: trim(this.userInfo.nickname), + nickname: trim(this.nickname), avatar: this.avatar, gender: this.form.gender, birthday: this.form.birthday