|
@@ -62,7 +62,8 @@
|
|
|
this.time=opt.time
|
|
|
//this.avatar=this.avatar.replace('http','https');
|
|
|
console.log(this.avatar)
|
|
|
- this.nickname=opt.name;
|
|
|
+ this.nickname=opt.name;
|
|
|
+
|
|
|
if(opt.sellingPoint&&opt.sellingPoint!='undefined'){
|
|
|
this.sellingPoint=opt.sellingPoint;
|
|
|
}
|
|
@@ -73,7 +74,10 @@
|
|
|
}
|
|
|
if(opt.groupType!=0){
|
|
|
console.log(opt.groupType)
|
|
|
- this.groupType=opt.groupType
|
|
|
+ this.groupType=opt.groupType;
|
|
|
+ if(this.nickname.length>12){
|
|
|
+ this.nickname=this.nickname.substring(0,12)+'...'
|
|
|
+ }
|
|
|
}
|
|
|
//console.log(this.nickname+this.nickname.length)
|
|
|
this.userInfo=this.$store.state.userInfo;
|