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' ? '男' : '女' // }