同步签名

This commit is contained in:
张凯 2025-06-13 16:04:31 +08:00
parent 8369dd8188
commit 72df74744a

View File

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