Commit 7952368c by 王志慧

Merge branch 'SAAS+V4.42' of http://192.168.3.233:8090/saas_plus/dj-car-boutique…

…-work-wechat into SAAS+V4.42
2 parents ea0bf0ca 289cadf8
......@@ -12,7 +12,7 @@ Component({
lifetimes: {
attached: function() {
let userInfo = util.getStorageSync('dj_boutique_user_info')
let username = userInfo.name > 4 ? userInfo.name : userInfo.name.slice(0,4) + '...'
let username = userInfo.name.length < 5 ? userInfo.name : userInfo.name.slice(0,4) + '...'
this.setData({
username
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!