mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
个人面板 点击 学习时长 会跳转到排行榜 “暂时” 改为不可跳转
This commit is contained in:
@@ -155,7 +155,7 @@ export default {
|
||||
|
||||
components:{gonggao},
|
||||
computed: {
|
||||
...mapGetters(['userInfo', 'userMsg','identity']),
|
||||
...mapGetters(['userInfo', 'userMsg','identity','studyTaskCount']),
|
||||
|
||||
avatarText(){
|
||||
return userAvatarText(this.userInfo.name);
|
||||
@@ -190,20 +190,25 @@ export default {
|
||||
console.log('lll')
|
||||
},
|
||||
loadBoeData() {
|
||||
let params = {
|
||||
// keyword:this.keyword,
|
||||
page: 1,
|
||||
size: 10
|
||||
// cmtask_status:this.cmtask_status,
|
||||
// cmtask_name:this.cmtask_name,
|
||||
};
|
||||
apiBoeCourse.cmtaskList(params).then(res => {
|
||||
if (res.status == 200 && res.result.count > 0) {
|
||||
this.isTiao = true;
|
||||
} else {
|
||||
this.isTiao = false;
|
||||
}
|
||||
});
|
||||
if(this.studyTaskCount>0){
|
||||
this.isTiao = true;
|
||||
}else{
|
||||
this.isTiao = false;
|
||||
}
|
||||
// let params = {
|
||||
// // keyword:this.keyword,
|
||||
// page: 1,
|
||||
// size: 10
|
||||
// // cmtask_status:this.cmtask_status,
|
||||
// // cmtask_name:this.cmtask_name,
|
||||
// };
|
||||
// apiBoeCourse.cmtaskList(params).then(res => {
|
||||
// if (res.status == 200 && res.result.count > 0) {
|
||||
// this.isTiao = true;
|
||||
// } else {
|
||||
// this.isTiao = false;
|
||||
// }
|
||||
// });
|
||||
},
|
||||
handleCommand(val) {
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
|
||||
Reference in New Issue
Block a user