mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-19 15:56:45 +08:00
提交
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
<!--互动内容-->
|
||||
<div style="display: flex;justify-content:flex-start;align-items: center;margin-top: 0px;">
|
||||
<div style="flex:1;">
|
||||
<author :avatar="article.authorInfo.avatar" :name="article.sysCreateBy" :sex="article.authorInfo.sex"></author>
|
||||
<author :avatar="article.authorInfo.avatar" :name="article.sysCreateBy" :sex="article.authorInfo.sex" ></author>
|
||||
</div>
|
||||
<div style="">
|
||||
<interactBar nodeWidth="60px" :readonly="true" :type="2" :data="article" :views="false"></interactBar>
|
||||
@@ -354,7 +354,7 @@ export default {
|
||||
this.isSeach =false;
|
||||
let ids = [];
|
||||
res.result.list.forEach(item => {
|
||||
item.authorInfo = { name: '', avatar: '', orgInfo: '' ,sex:null};
|
||||
item.authorInfo = {aid:'', name: '', avatar: '', orgInfo: '' ,sex:null};
|
||||
ids.push(item.sysCreateAid);
|
||||
});
|
||||
that.getQaUserData(res.result.list, ids);
|
||||
@@ -377,6 +377,7 @@ export default {
|
||||
list.forEach(item => {
|
||||
res.result.some(author => {
|
||||
if (author.aid == item.sysCreateAid) {
|
||||
item.authorInfo.aid = author.aid;
|
||||
item.authorInfo.avatar = author.avatar;
|
||||
item.authorInfo.name = author.name;
|
||||
item.authorInfo.orgInfo = author.orgInfo;
|
||||
|
||||
Reference in New Issue
Block a user