From 72df74744a6a9ac2f648cbb4fab2876c6a05712c Mon Sep 17 00:00:00 2001 From: zhangkai <847704969@qq.com> Date: Fri, 13 Jun 2025 16:04:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E7=AD=BE=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packageA/my/person-detail.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packageA/my/person-detail.vue b/packageA/my/person-detail.vue index 83703f3..9016dc0 100644 --- a/packageA/my/person-detail.vue +++ b/packageA/my/person-detail.vue @@ -173,7 +173,7 @@ //昵称 niName: '', //签名 - signature: '带着热爱,在搭子圈里撒野~', + signature: '', realname: '', gender: '', // ages: '', @@ -256,7 +256,7 @@ this.niName = userInfo.nickname this.realname = userInfo.username this.avatar = userInfo.avatar - this.signature = userInfo.bio != '' ? userInfo.bio : '带着热爱,在搭子圈里撒野~' + this.signature = userInfo.bio this.getSfInfo(); this.getBankList(); this.getDetail(); @@ -363,6 +363,9 @@ this.niName = userinfo.nickname uni.setStorageSync('niName', this.niName) } + if (userinfo.bio !== null) { + this.signature = userinfo.bio + } // if (userinfo.gender !== null) { // this.gender = userinfo.gender == '1' ? '男' : '女' // }