mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-23 17:55:37 +08:00
提交
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user