fix: bug修复
This commit is contained in:
parent
4afc57d819
commit
eff0bcb677
@ -87,7 +87,7 @@ export default {
|
|||||||
item.isForbidden = 1;
|
item.isForbidden = 1;
|
||||||
item.joinTime = item.startTime;
|
item.joinTime = item.startTime;
|
||||||
item.expireTime = item.endTime;
|
item.expireTime = item.endTime;
|
||||||
item.headPicUrl = item.userHeadPic; // 用户头像
|
item.userHeadPicUrl = item.userHeadPic; // 用户头像
|
||||||
this.userIdsObj[item.userId] = item;
|
this.userIdsObj[item.userId] = item;
|
||||||
});
|
});
|
||||||
this.list = this.list.concat(list);
|
this.list = this.list.concat(list);
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
</dt>
|
</dt>
|
||||||
<dd v-for="item in list" :key="item.id">
|
<dd v-for="item in list" :key="item.id">
|
||||||
<div>
|
<div>
|
||||||
<img :src="item.headPicUrl || defaultAvatar.student" alt="" />
|
<img :src="item.userHeadPicUrl || defaultAvatar.student" alt="" />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@ -86,7 +86,6 @@ export default {
|
|||||||
list.splice(index, 1);
|
list.splice(index, 1);
|
||||||
} else {
|
} else {
|
||||||
this.userIdsObj[item.userId] = item;
|
this.userIdsObj[item.userId] = item;
|
||||||
item.isForbidden = item.commentBlackStatus; // 是否禁言 1:是 2否
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.list = this.list.concat(list);
|
this.list = this.list.concat(list);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user