diff --git a/src/components/HomePage/followList.vue b/src/components/HomePage/followList.vue
index 27325b3c..0bfd1151 100644
--- a/src/components/HomePage/followList.vue
+++ b/src/components/HomePage/followList.vue
@@ -262,7 +262,7 @@ import apiUser from "@/api/system/user.js";
})
this.followMe.list = res.result.list;
//console.log(this.mypageList,'this.mypageList');
- this.getUserData(res.result.list);
+ this.getUserData(res.result.list,2);
}else{
console.log('加载关注我数据错误:'+res.message);
}
@@ -280,26 +280,26 @@ import apiUser from "@/api/system/user.js";
item.userFollow.authorInfo = { aid: "",name: "",orgInfo: "",avatar: "",sex: null ,sign:''}
})
this.follow.list = res.result.list;
- this.getUserData(res.result.list);
+ this.getUserData(res.result.list, 1);
}
})
},
- getUserData(list) {
+ // num 判断是哪个接口
+ getUserData(list,num) {
let ids = [];
- if(this.active == 2) {
+ if(num == 2) {
ids = list.map(item=> item.userFollow.aid);
} else {
ids = list.map(item=> item.userFollow.followId);
}
-
apiUser.getByIds(ids).then(res => {
if (res.status == 200) {
list.forEach((item, index) => {
res.result.some(author => {
- if (this.active == 1 && author.aid == item.userFollow.followId) {
+ if (num == 1 && author.aid == item.userFollow.followId) {
item.userFollow.authorInfo = author;
return true;
- } else if(this.active == 2 && author.aid == item.userFollow.aid){
+ } else if(num == 2 && author.aid == item.userFollow.aid){
item.userFollow.authorInfo = author;
return true;
} else {
diff --git a/src/components/UserCenter/menu.vue b/src/components/UserCenter/menu.vue
index d239cbc0..a1408825 100644
--- a/src/components/UserCenter/menu.vue
+++ b/src/components/UserCenter/menu.vue
@@ -93,14 +93,14 @@
问答管理
-
+
旧版管理员界面
-
+
业务支援读书会管理
diff --git a/src/views/Index.vue b/src/views/Index.vue
index 56fafca4..48374339 100644
--- a/src/views/Index.vue
+++ b/src/views/Index.vue
@@ -442,7 +442,7 @@
-
感谢有你 一路相伴
+
感谢有您 一路相伴
勋章领取条件:
2022年11月4日-11月19日登录过平台学习的校友
diff --git a/src/views/homepage/page.vue b/src/views/homepage/page.vue
index 7f476fe5..8acfef87 100644
--- a/src/views/homepage/page.vue
+++ b/src/views/homepage/page.vue
@@ -6,7 +6,7 @@