@@ -42,7 +42,7 @@ Page({
onShow() {
this.getAccountNmberFn()
this.setData({
- appusername: app.globalData.userInfo.userName.length > 4 ? app.globalData.userInfo.userName.substring(0,4) : app.globalData.userInfo.userName,
+ appusername: app.globalData.userInfo.userName.length > 8 ? app.globalData.userInfo.userName.substring(0,4) : app.globalData.userInfo.userName,
appuserheadimg: app.globalData.userInfo.headImg
})
if (app.globalData.navigateBackParams.address) {
@@ -30,7 +30,7 @@ Page({
from: options.from,
},