This commit is contained in:
zhaofang
2022-10-20 14:09:43 +08:00
parent 09f7581ba8
commit b21160ba80
9 changed files with 26 additions and 27 deletions

View File

@@ -93,7 +93,7 @@
export default{
components:{top,UcHeader,CaseList,CourseList,NoteList,PutList,AnswerList,ArticleList,FollowList,BookList},
computed: {
...mapGetters(['userInfo','majorTypeMap','orgDomainMap']),
...mapGetters(['userInfo','majorTypeMap','orgDomainMap','attention']),
},
data(){
return{
@@ -136,7 +136,10 @@
let urlPre=window.location.protocol+'//'+window.location.host;
location.href=urlPre+process.env.VUE_APP_PUBLIC_PATH+this.$xpage.getHomePath(this.pageId);
}
}
},
attention(val) {
this.activeName = "7";
},
},
mounted() {
@@ -339,9 +342,7 @@
apiNote.ids(ids).then(res=>{
if(res.status == 200) {
list.forEach((item, index) => {
let score = item.contentInfo.substr(item.contentInfo.length -1,1);
console.log(Number(score),'Number(score)');
if(Number(score) > 0) {
item.score = score;
}