|
@@ -38,9 +38,11 @@ export default {
|
|
|
isSupplier() {
|
|
|
return this.userIdentity === 2
|
|
|
},
|
|
|
+ mobileWidthStar() {
|
|
|
+ return this.mobile ? this.mobile.replace(/^(\w{3})\w+(\w{4})$/, '$1****$2') : ''
|
|
|
+ },
|
|
|
userName() {
|
|
|
- console.log(this.mobile, this.loginAccount, this.name)
|
|
|
- return this.loginAccount || this.mobile || this.name
|
|
|
+ return this.loginAccount || this.mobileWidthStar || this.name
|
|
|
},
|
|
|
// 未开通会员
|
|
|
notOpen() {
|